public class VisibilityChangedEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
float |
percentVisibleHeight
Between 0 and 100, indicates percentage of item height that is visible on screen.
|
float |
percentVisibleWidth
Between 0 and 100, indicates percentage of item width that is visible on screen.
|
int |
rootHostViewHeight
Indicates the height of the RootHost view, if applicable.
|
int |
rootHostViewWidth
Indicates the width of the RootHost view, if applicable.
|
int |
visibleHeight |
int |
visibleLeft
The visible left presents the left edge of the visible rect of the content.
|
int |
visibleTop
The visible top presents the top edge of the visible rect of the content.
|
int |
visibleWidth |
Constructor and Description |
---|
VisibilityChangedEvent() |
public int visibleTop
0
then the item is fully visible from the top; if the value is > 0
then some
part of the content is hidden from the top. Consequently if the value is 0
and percentVisibleHeight
< 100, then the content is hidden from the bottom edge.public int visibleLeft
0
then the item is fully visible from the left; if the value is > 0
then some
part of the content is hidden from the left. Consequently if the value is 0
and percentVisibleWidth
< 100, then the content is hidden from the right edge.public int visibleHeight
public int visibleWidth
public float percentVisibleWidth
public float percentVisibleHeight
public int rootHostViewHeight
public int rootHostViewWidth