How to add date separators in recycler view using Paging Library?
问题 After a lot of searching, I know its possible with regular adapter, but I have no idea how to do it using Paging Library. I don`t need code just a clue. Example 回答1: To add separators, you essentially have 2 options: View-based, you explicitly include separators as an 'item' in the list and define a new viewtype for those separators. Allows the list to re-use the separator views but means you need to take the separators into account when defining the data. Data-based, each item actually has a