public class VisibilityUtils
extends java.lang.Object
Constructor and Description |
---|
VisibilityUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
dispatchOnFocused(Function<java.lang.Void> focusedHandler) |
static void |
dispatchOnFullImpression(Function<java.lang.Void> fullImpressionHandler) |
static void |
dispatchOnInvisible(Function<java.lang.Void> invisibleHandler) |
static void |
dispatchOnUnfocused(Function<java.lang.Void> unfocusedHandler) |
static void |
dispatchOnVisibilityChanged(Function<java.lang.Void> visibilityChangedHandler,
int visibleTop,
int visibleLeft,
int visibleWidth,
int visibleHeight,
int rootHostViewWidth,
int rootHostViewHeight,
float percentVisibleWidth,
float percentVisibleHeight) |
static void |
dispatchOnVisible(Function<java.lang.Void> visibleHandler,
java.lang.Object content) |
public static void dispatchOnVisible(Function<java.lang.Void> visibleHandler, java.lang.Object content)
public static void dispatchOnFocused(Function<java.lang.Void> focusedHandler)
public static void dispatchOnUnfocused(Function<java.lang.Void> unfocusedHandler)
public static void dispatchOnFullImpression(Function<java.lang.Void> fullImpressionHandler)
public static void dispatchOnInvisible(Function<java.lang.Void> invisibleHandler)
public static void dispatchOnVisibilityChanged(Function<java.lang.Void> visibilityChangedHandler, int visibleTop, int visibleLeft, int visibleWidth, int visibleHeight, int rootHostViewWidth, int rootHostViewHeight, float percentVisibleWidth, float percentVisibleHeight)