Register now for Android Dev Summit 2019!

Animatable

public interface Animatable

androidx.constraintlayout.motion.widget.Animatable


A helper interface allowing MotionLayout to directly drive custom views

Summary

Public methods

abstract float getProgress()
abstract void setProgress(float progress)

Public methods

getProgress

public abstract float getProgress ()

Returns
float

setProgress

public abstract void setProgress (float progress)

Parameters
progress float