I am trying to implement a list similar to "Schedule" view from Google calendar. Requirements are:
- The list should be infinitely scrollable in both vertical directions.
- The items should come from LiveData so the items can update themselves in the UI when they change in database.
I tried using Paging library, but it seems that:
- PositionalDataSource allows infinite scrolling only in one direction
- ItemKeyedDataSource does not use LiveData
- PageKeyedDataSource is not applicable because the database query is not based on paged keys
I could not ways to get around the three issues above. Can anybody help me implement this?