1

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?

1 Answers1

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
  • 62,910
  • 10
  • 119
  • 113