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