add On Visibility Changed Listener
Add on visibility changed listener to every instantiated view. If the listener has already been added previously, this method will be a no-op. Adding null
is not allowed, and will result in an exception.
Parameters
listener
OnVisibilityChangedListener that should be notified. Must be non-null.