h6ah4i / android-advancedrecyclerview

RecyclerView extension library which provides advanced features. (ex. Google's Inbox app like swiping, Play Music app like drag and drop sorting)
https://advancedrecyclerview.h6ah4i.com/
Apache License 2.0
5.32k stars 860 forks source link

How to expand all group by default and scroll to bottom afterwards ? #489

Open wanzer opened 5 years ago

wanzer commented 5 years ago

Hello. I have no issues with expand all group, but if i try to scroll list to bottom it will get stuck on the middle, for example - (reply_message_rv?.layoutManager as LinearLayoutManager) .scrollToPositionWithOffset(it.groupCount - 1, 0) . Actually, without any expanding the list scrolls to bottom in a right way, but after it was expanded, it'll scroll to top a bit by the help of expanded items.