addOnVisibilityChangedListener

Adds a listener to the collection.

Parameters

listener

On visibility changed listener to be added.