Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting items? #57

Closed
boldijar opened this issue Mar 21, 2016 · 1 comment
Closed

Sorting items? #57

boldijar opened this issue Mar 21, 2016 · 1 comment
Labels

Comments

@boldijar
Copy link

Is there a way to sort items without inserting them at the correct position?

Thanks!

@davideas
Copy link
Owner

It's a nice idea, but in my opinion sorting depends by the specific use case that only the developer knows.
Basically, you can apply your sort logic to your list and then call updateDataSet(sorted list) OR you can call animateTo(sorted list) to have inserting and removal animations (this method is called in the filter, so it should work also for any new list).

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

No branches or pull requests

2 participants