I want to get the items which are on the screen. For example: item No.4 and part of item No.5 can be seen. How to get the Views of the two?
Asked
Active
Viewed 611 times
1 Answers
1
You can call getFirstVisiblePosition()
to get the index of the first visible item on screen, and getLastVisiblePosition()
to get the index of the last item on screen.

Bryan Herbst
- 66,602
- 10
- 133
- 120