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

smedegaard

04/23/2018, 8:34 AM
Is there any material for MVVM, Kotlin and LiveData used together. I’m jumping between * https://developer.android.com/topic/libraries/architecture/guide.html * https://github.com/googlesamples/android-architecture/tree/todo-mvvm-live-kotlin/todoapp/ * x number of Medium posts It’s confusing me more than helping me
n

nil2l

04/23/2018, 8:36 AM
Google CodeLabs are good for MVVM and LiveData. And Kotlin itself never confuses. 🙂
👍 1
w

waqas

04/23/2018, 8:39 AM
I recently wrote a sample app using MVVM and LiveData https://github.com/waah42/github-sample/tree/use-sealed-class and of-cource kotlin, ther ViewModelProvider part is simple without caching not similar to what you will find in Google Samples. Rest should be ok. Feel free to ask something specific if you need more help.
s

smedegaard

04/23/2018, 8:40 AM
Thanks, I’ll checkout CodeLabs and your repo @waqas
a

adam-mcneilly

04/23/2018, 2:14 PM
The paging lib samples do this. I also have a sample app I've been working on (to demonstrate paging for a blog post that isn't published yet) which uses those: https://github.com/adammc331/pokedex