The second Android 11 Developer Preview is now available, test it out and share your feedback.

MutableTransitionState

interface MutableTransitionState
androidx.animation.MutableTransitionState

MutableTransitionState is used in TransitionDefinition for constructing various TransitionStates with corresponding properties and their values.

Summary

Public methods

abstract operator Unit
set(propKey: PropKey<T, V>, prop: T)

Public methods

set

abstract operator fun <T, V : AnimationVector> set(
    propKey: PropKey<T, V>,
    prop: T
): Unit