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 PMadev_one
10/09/2018, 3:16 PMEgor Trutenko
10/09/2018, 3:19 PM::setText
instead of ::text
?Egor Trutenko
10/09/2018, 3:21 PM::setText listen ::title
adev_one
10/09/2018, 3:24 PMinfix fun <T> ((T) -> Unit).listen(listenableProperty: KProperty0<T>)
adev_one
10/09/2018, 3:26 PM::title.emitIn(::setText)
but it too different with natural text = title
Egor Trutenko
10/09/2018, 3:27 PMEgor Trutenko
10/09/2018, 3:29 PMsetText
in the last case, like
::setText<CharSequence> listen ::title
But again, it's not really idiomaticEgor Trutenko
10/09/2018, 3:31 PMEgor Trutenko
10/09/2018, 3:35 PMradityagumay
10/09/2018, 4:29 PMadev_one
10/09/2018, 4:33 PM