SidePropagation

public class SidePropagation
extends VisibilityPropagation

java.lang.Object
   ↳ androidx.transition.TransitionPropagation
     ↳ androidx.transition.VisibilityPropagation
       ↳ androidx.transition.SidePropagation


A TransitionPropagation that propagates based on the distance to the side and, orthogonally, the distance to epicenter. If the transitioning View is visible in the start of the transition, then it will transition sooner when closer to the side and later when farther. If the view is not visible in the start of the transition, then it will transition later when closer to the side and sooner when farther from the edge. This is the default TransitionPropagation used with Slide.

Summary

Public constructors

SidePropagation()

Public methods

long getStartDelay(ViewGroup sceneRoot, Transition transition, TransitionValues startValues, TransitionValues endValues)

Called by Transition to alter the Animator start delay.

void setPropagationSpeed(float propagationSpeed)

Sets the speed at which transition propagation happens, relative to the duration of the Transition.

void setSide(int side)

Sets the side that is used to calculate the transition propagation.

Inherited methods