https://kotlinlang.org logo
#android
Title
# android
g

Giulio

07/23/2018, 8:24 PM
I'm looking at this example https://github.com/android10/Android-CleanArchitecture-Kotlin for me it is interesting because it is based on viewmodel pattern I see it uses livedata, observe... (ok where can I learn about this livedata programming style?) but I would have expected to see the binding like
Copy code
<TextView android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@{user.firstName, default=my_default}"/>
where are they in such project? Thanks in advance for your hint!
google 1
stackoverflow 1
g

gildor

07/23/2018, 11:42 PM
This example don't use DataBinding library Check this sample project from Google (there are some other in another branches): https://github.com/googlesamples/android-architecture/tree/todo-mvvm-databinding
3 Views