adev_one
10/09/2018, 3:10 PMUnsupported reference to synthetic extension property for a Java get/set method
. Is there way to fix it without creating extension property for each get/set? Or may be any ideas about another clear syntax to bind view property with reactive property?Egor Trutenko
10/09/2018, 3:13 PMtext
property in the first place? It's not really clearadev_one
10/09/2018, 3:15 PMEgor Trutenko
10/09/2018, 3:19 PM::setText
instead of ::text
?::setText listen ::title
adev_one
10/09/2018, 3:24 PMinfix fun <T> ((T) -> Unit).listen(listenableProperty: KProperty0<T>)
::title.emitIn(::setText)
but it too different with natural text = title
Egor Trutenko
10/09/2018, 3:27 PMsetText
in the last case, like
::setText<CharSequence> listen ::title
But again, it's not really idiomaticradityagumay
10/09/2018, 4:29 PMadev_one
10/09/2018, 4:33 PM