interface Animatable

Known direct subclasses
MotionHelperInterface

This defined the interface for MotionLayout helpers Helpers can be used to draw motion effects or modify motions

Known indirect subclasses
Carousel

Carousel works within a MotionLayout to provide a simple recycler like pattern.

MotionEffect

MotionHelper that automatically inserts keyframes for views moving in a given direction, out of:

MotionHelper

A helper interface allowing MotionLayout to directly drive custom views

Summary

Public functions

Float

get the progress

Unit
setProgress(progress: Float)

Set the progress

Public functions

getProgress

Added in 2.2.0
fun getProgress(): Float

get the progress

Returns
Float

setProgress

Added in 2.2.0
fun setProgress(progress: Float): Unit

Set the progress

Parameters
progress: Float