I have a ListView . I updated its adapter and called notifydatasetchanged() . I want to wait for the list to finish drawing, and then call getLastVisiblePosition () on the list to check the last item.
Calling getLastVisiblePosition() immediately after notifydatasetchanged() does not work, because the list has not yet finished drawing.
android listview
ha1ogen
source share