android - How to know which list item is visible to user? -


i recorded videos through app,and stored in memory card.

after videos , added list view .

based on screen size 1 video visible user.

if user scroll , down , stop.

at point want know 1 in front of user.

if 1 know solution please me.or other way do

thanks in advance

ok, there 2 methods you.

listview.getfirstvisibleposition() listview.getlastvisibleposition() 

look this page details.


Comments