Package-level declarations
Functions
Registers a callback to be called when either the Component occupies at least half of the viewport, or, if the Component is smaller than half the viewport, when it is fully visible.
Registers a callback to be called when all parts of a Component have been made visible at some point, termed a "full impression". A full impression is defined as:
Registers a callback to be called when a Component becomes fully invisible (e.g. scrolled off or unmounted)
Registers a callback to be called when the Component is no longer focused, i.e. it is not fully visible and does not occupy at least half the viewport.
Registers a callback to be called when the visible rect of a Component changes.
Defines the visibility of the Component. The values can be Visibility.VISIBLE or Visibility.INVISIBLE. The default value Visibility.VISIBLE which means is the same as View.VISIBLE; i.e. the component will be invisible but still occupy space. Note: Using this API will not change how Visibility Events are dispatched; onVisible and/or onInvisible will work as if this property was not in use.
Defines a ratio of the Component height for the visibility callback to be dispatched use together with onVisible and/or with onInvisible.
Defines a ratio of the Component width for the visibility callback to be dispatched use together with onVisible and/or with onInvisible.