Kirill Grouchnikov
05/25/2021, 12:13 PM0.4.0-build210
is out with support for Kotlin 1.5.0Igor Demin
05/25/2021, 1:58 PM0.4.0-build211
with support for Kotlin 1.5.10 🙂Colton Idle
05/25/2021, 6:32 PMIgor Demin
05/25/2021, 6:35 PMDirk Hoffmann
05/25/2021, 11:42 PMonFocusChanged = { focusState ->
visible = focusState == FocusState.hasFocus
},
(has been FocusState.Active
)
Funnily IDE gives me code completion for hasFocus
but still pretends that it does not exist:
Unresolved reference: hasFocus
any ideas?Igor Demin
05/26/2021, 7:54 AMbut still pretends that it does not existYou should use this:
visible = focusState.hasFocus
hasFocus
is not a static field 🙂