Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Sorting #61

Open
ghahramani opened this issue Feb 17, 2019 · 1 comment
Open

Sorting #61

ghahramani opened this issue Feb 17, 2019 · 1 comment

Comments

@ghahramani
Copy link

ghahramani commented Feb 17, 2019

Hi Ahamed,

Your library is awesome and saved me lots of times and headache, thank you.

I was wondering if there is a way to add SortedList or any kind of sorting to items in the DataListManager as my data is coming through RxJava and I have no clue about the order of them so I have to sort it before passing it to Adapter.

I was doing it before by adding my item to SortedList and adding Comprable to my model.

@DevAhamed
Copy link
Owner

With 2.x version, you can create or extend ListSection (previously DataListManager) and add the sorting option.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants