added in version 26.1.0
belongs to Maven artifact com.android.support:transition:28.0.0-alpha1

VisibilityPropagation

public abstract class VisibilityPropagation
extends TransitionPropagation

java.lang.Object
   ↳ android.support.transition.TransitionPropagation
     ↳ android.support.transition.VisibilityPropagation
Known Direct Subclasses


Base class for TransitionPropagations that care about View Visibility and the center position of the View.

Summary

Public constructors

VisibilityPropagation()

Public methods

void captureValues(TransitionValues values)

Captures the values in the start or end scene for the properties that this transition propagation monitors.

String[] getPropagationProperties()

Returns the set of property names stored in the TransitionValues object passed into captureValues(TransitionValues) that this transition propagation cares about for the purposes of preventing duplicate capturing of property values.

int getViewVisibility(TransitionValues values)

Returns getVisibility() for the View at the time the values were captured.

int getViewX(TransitionValues values)

Returns the View's center x coordinate, relative to the screen, at the time the values were captured.

int getViewY(TransitionValues values)

Returns the View's center y coordinate, relative to the screen, at the time the values were captured.

Inherited methods

From class android.support.transition.TransitionPropagation
From class java.lang.Object