Is there a solution to retrieve the index of the first and the last visible items on the screen in a GridView
or a ListView
???
I searched in developer documentation but there was nothing, and i just found an interface [AbsListView.OnScrollListener
] with method [onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount)
] that the second parameter give the first visible item that i want, but for last visible item there were nothing