Closed khanimdad closed 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
I browsed so many MVVM project and this one seems very relevant.