AnimatedExpandableListView
AnimatedExpandableListView copied to clipboard
Request - scroll down when expanding last visible group
It would be awesome if the list scrolled down a bit when expanding the last visible group, or a group close to the bottom of the listView (not the list itself). I was thinking about making the list scroll enough to make the top of the clicked group match the top of the list, or in case the list does not have enough elements below the clicked group to align it to the top, simply scroll down until the entire group is visible.
It seems smoothScrollToPosition() was removed in this AnimatedExpandableListView so the auto scroll is not work (((.
I added a quick fix for this that only works on Android levels 14 and up. I'll add support for 8 to 14 later today.
It works. Thanks! Also it would be nice if "scroll down" works for other groups if the child is is not fully visible.
Can you tell me how to make it scroll to bottom if if its the last item in the list. http://stackoverflow.com/questions/30182208/expandable-listview-setselectionfromtop-with-animation-and-padding