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

quocdev

01/02/2018, 6:05 AM
hi everyone, happy new year I has been learning the Android, So could you suggest me the Architecture MVVM of Kotlin (demo or app) used the RxJava2+ Databinding Thanks so much !
Java, but you can do the same with kotlin
n

Nanchen

01/02/2018, 6:09 AM
q

quocdev

01/02/2018, 6:34 AM
😁 thank thank but this is used many framework and I can not understand 😁 @Nanchen
g

gildor

01/02/2018, 6:37 AM
Actually example from Nanchen uses quite standard set of libraries for modern apps: Dagger for DI Glide for image downloading Retrofit, OkHttp, Gson for networking and json manipulation Timber the most popular logger on Android Mockito, Espresso, Robolectric for tests
q

quocdev

01/02/2018, 7:17 AM
@gildor 😁 Thanks you for suggestion but I try convert to kotlin and get many error ! So Do you have demo of kotlin 😁 I’m beginner android and very difficult for understand the project used the many libraries
g

gildor

01/02/2018, 7:17 AM
what kind errors?
If you beginner don’t use full featured examples, just use library that you want. What exactly do you want to see in sample app?
For example for Databind library there are a lot of examples. But you asked about databinding + rxajava2 what exactly do you want to do with it?
And just check link that I sent above, https://github.com/googlesamples/android-architecture googlesamples/android-architecture contains a lot of examples that uses different approaches
I try convert to kotlin and get many error
Convertation is mostly very straight forward, not sure what kind problems do you have
q

quocdev

01/02/2018, 7:46 AM
@gildor Thanks you so much ! I talk above
Copy code
Architecture MVVM of Kotlin (demo or app)
used the RxJava2+ Databinding
Only used the Rxjava + Databinding and follow code the SOLID princes