I want to do a particular action on the items of the listview that the user can see without scrolling. Is there anyway to get the amount of items shown, or is there any other way of approaching this?
I dont know what exact is your requirement but to know the no list items that are currently visible
ListView.getFirstVisiblePosition();
ListView.getLastVisiblePosition();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With