title: How to handle visibility changes for a custom android view/widget
body: <p>I have written a custom view in android. I need to do some processing when visibility of this view is changed. Is there some listener which is called when visibility of a view/widget is changed ?</p>
  
  <p>Edit:</p>
  
  <p>I know how to change the visibility, would like to know if there is a listener which is called when we setVisibility on the view!</p>