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 vi
To change the visibility of a widget, use the widget.setVisibility(View.Visible) or widget.setVisibility(View.Invisible) methods.
widget.setVisibility(View.Visible)
widget.setVisibility(View.Invisible)