I am currently using the getChildAt
method for getting the child rows inside a ListView
. The problem with this is that it only gets the child correctly if the ListView
is scrolled all the way to the top.
If I were to scroll down a bit so that the first row is hidden and call the getChildAt
method for position 1 it would get the view that is third in the ListView
.
Is there a way to get the child view with an actual position rather than the position visible on the screen? So that in the case above the getChildAt
would still return a view (2nd child) even if it isn't visible on the screen.