I’m not familiar with the binding adapter, but if ...
# android
a
I’m not familiar with the binding adapter, but if it doesn’t support kotlin directly, consider just making a global function and annotate it with
@JvmStatic
. See https://stackoverflow.com/questions/37075871/can-i-bind-an-error-message-to-a-textinputlayout
g
@alle.iacob This is not required for bindings and defining binding adapter as extension function for view is just fine, it's quite idiomatic Imo and works with bindings