@{condition ? View.GONE : View.VISIBLE}
# android
r
@{condition ? View.GONE : View.VISIBLE}
a
Needs to be a traditional if else, ternary doesn't exist in Kotlin
Ah in XML... Logic in XML is untestable