https://kotlinlang.org logo
#splitties
Title
# splitties
p

Pierfrancesco Gulinelli

05/20/2019, 9:50 AM
Do you have some plans about view DSL binding?
l

louiscad

05/20/2019, 10:10 AM
What do you mean by binding?
p

Pierfrancesco Gulinelli

05/20/2019, 12:05 PM
bind an action or a property to another property like you can do with databinding library of Android or RxJava. I have seen that exists something for Anko (https://github.com/lightningkite/kotlin-anko-observable or https://github.com/agrosner/KBinding). First example edittext ontextchanged, with a two-way binding
l

louiscad

05/22/2019, 7:51 PM
I have no plans for two-way binding, and regarding one way binding, I have not plans to add anything particular into Splitties Views DSL either, as the way you get or set data to/from views can vary a lot.
p

Pierfrancesco Gulinelli

05/23/2019, 10:48 AM
ok, thank you
4 Views