MotionHelperInterface

public interface MotionHelperInterface
implements Animatable, MotionLayout.TransitionListener

androidx.constraintlayout.motion.widget.MotionHelperInterface


Summary

Public methods

abstract boolean isDecorator()
abstract boolean isUseOnHide()
abstract boolean isUsedOnShow()
abstract void onFinishedMotionScene(MotionLayout motionLayout)

This is called after motionLayout read motionScene and assembles all constraintSets

abstract void onPostDraw(Canvas canvas)
abstract void onPreDraw(Canvas canvas)
abstract void onPreSetup(MotionLayout motionLayout, HashMap<ViewMotionController> controllerMap)

Called after motionController is populated with start and end and keyframes.

Inherited methods

Public methods

isDecorator

public abstract boolean isDecorator ()

Returns
boolean

isUseOnHide

public abstract boolean isUseOnHide ()

Returns
boolean

isUsedOnShow

public abstract boolean isUsedOnShow ()

Returns
boolean

onFinishedMotionScene

public abstract void onFinishedMotionScene (MotionLayout motionLayout)

This is called after motionLayout read motionScene and assembles all constraintSets

onPostDraw

public abstract void onPostDraw (Canvas canvas)

Parameters
canvas Canvas

onPreDraw

public abstract void onPreDraw (Canvas canvas)

Parameters
canvas Canvas

onPreSetup

public abstract void onPreSetup (MotionLayout motionLayout, 
                HashMap<ViewMotionController> controllerMap)

Called after motionController is populated with start and end and keyframes.