ShamylZakariya / StickyHeaders

Adapter and LayoutManager for Android RecyclerView which enables sticky header positioning.
MIT License
1.4k stars 185 forks source link

How to get lastVisibleItem? #81

Open monishkamble opened 6 years ago

monishkamble commented 6 years ago

I want to register a scroll listener on recyclerview and perform some task when user scrolls to the end (or end - n) of the list. Is there any way to get the last visible item or section like LinearLayoutManager's linearLayoutManager.findLastVisibleItemPosition().

The-RobinHood commented 6 years ago

Hey, did you get any solution?

monishkamble commented 6 years ago

I wanted to implement load more recyclerview. I achieved it using PagedLoadScrollListener. Refer Paged Scrolling in the demo app.