remove On Visibility Changed Listener
Removes a previously added visibility change listener. Upon calling this method the
listener
will no longer be notified of any changes. If the listener has not been added, this method will be a no-op. Adding null
is not allowed,and will result in an exception.
Parameters
listener
OnVisibilityChangedListener that should be removed. Must be non-null.