Has anyone joined MergeAdapter, StickyListHeaders and ListViewAnimations android libraries?
My needs are:
- multiple ListViews in one vertically scrolled view
- heterogenous item views
- multiple list items separated by headers, which should be sticky
- ability to expand some list items
- drag'n'drop some of them
- support android 14+
My extras:
- rely on CursorAdapters
Cherrypick:
- sometimes my very top header (which is separate view not part of my list and I'll prefer it to stay that way) need to slide a bit over to the top; my combined list should follow but in the same time animate extend of it's height in order to always be attached to a bottom.
Mentioned libraries were:
- MergeAdapter - https://github.com/commonsguy/cwac-merge
- StickyListHeaders - https://github.com/emilsjolander/StickyListHeaders
- ListViewAnimations - https://github.com/nhaarman/ListViewAnimations
Please give me some hope if it's possible and some useful tips how to avoid pitfalls. Maybe I should use some other libs. Or I'll just have to write that myself :(
====EDITED====
In the end I have managed to build a stub of what I was hoping to do (in early 2014). It is functional expandable and draggable listview and adapter lib with nice animations (no sticky headers yet). Here's repo:
Since RecyclerView is now available there's no need to use overcomplicated listview code. Here is quick switch guide - http://andraskindler.com/2014/11/22/migrating-to-recyclerview/.
From the ListViewAnimations wiki: http://nhaarman.github.io/ListViewAnimations/#getting-started
In combination with the solution from StickyListHeaders and MergeAdapter the uber-mergeadapter should be a possiblity :P