erikjhordan-rey / People-MVVM

Sample created to practice MVVM and DataBinding in Android Applications.
https://erikjhordan-rey.github.io/blog/2015/12/15/ANDROID-databinding-android.html
668 stars 193 forks source link

Well done, can you explain how can i add infinite scroll to this #16

Closed khanimdad closed 5 years ago

khanimdad commented 7 years ago

I browsed so many MVVM project and this one seems very relevant.

erikjhordan-rey commented 5 years ago

This scrolling logic is handled from your activity or fragment with the adapter & layout manager, ViewModel responsibility is just to orchestrate the data to be displayed in UI basically the UI logic.

You can research about Paging Library maybe you can found it useful -> https://github.com/erikcaffrey/Movies-PagingLibrary-Arch-Components