Are there any events that indicate a View enters or leaves the device screen?
<p>Is there an API in Android that allows you to listen for events when a <code>View</code> enters or leaves the device screen? One example would be the child views in a <code>ScrollView</code>.</p>

<p>I tried to subclass the child views and override the <code>onVisibilityChanged</code> method to listen in for the changes but no dice.</p>

<p>This question here is similar to my problem, though I need an event driven solution.<br>
<a href="http://stackoverflow.com/questions/4628800/android-how-to-check-if-a-view-inside-of-scrollview-is-visible">Android: how to check if a View inside of ScrollView is visible?</a></p>
