Android: how to check if a View inside of ScrollView is visible?
I have a ScrollView which holds a series of Views. I would like to be able to determine if a view is currently visible (if any part of it is currently displayed by the ScrollView). I would expect the below code to do this, surprisingly it does not: Rect bounds = new Rect(); view.getDrawingRect(bounds); Rect … Read more