0

In my project I have successfully implemented Paging3 library. The data is showing in UI through my MembersPagingAdapter class. What I am unable to do it is to sort the list of members alphabetically as per name/username, Or, as per registration date(UNIX timestamp).

I am only getting option to filer, and switchMap.

Ankush
  • 175
  • 1
  • 12
  • If the data comes from Room then your SQL query should be able to handle it. – cutiko Dec 06 '21 at 14:50
  • @cutiko, What if it directly comes from network call.? How to sort them? Also not saving the data to room, and directly showing it from network - is it a good flow? – Ankush Dec 07 '21 at 01:28

0 Answers0