The Developer Preview for Android 11 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)

Inherited extension functions

From androidx.compose
operator T

IMPORTANT: This global operator is TEMPORARY, and should be removed whenever an answer for contextual composers is reached.

Public methods

set

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