Google is committed to advancing racial equity for Black communities. See how.

PxPropKey

class PxPropKey : PropKey<Float, AnimationVector1D>
kotlin.Any
   ↳ androidx.ui.animation.PxPropKey

Built-in property key for pixel properties.

Summary

Public constructors
<init>(label: String = "PxPropKey")

Built-in property key for pixel properties.

Properties
String

Label for distinguishing different prop keys in Android Studio.

TwoWayConverter<Float, AnimationVector1D>

A TwoWayConverter that converts T (the data type to be animated) to and from V (any subclass of AnimationVector).

Public constructors

<init>

PxPropKey(label: String = "PxPropKey")

Built-in property key for pixel properties.

Parameters
label: String = "PxPropKey" Label for distinguishing different prop keys in Android Studio.

Properties

label

val label: String

Label for distinguishing different prop keys in Android Studio.

typeConverter

val typeConverter: TwoWayConverter<Float, AnimationVector1D>

A TwoWayConverter that converts T (the data type to be animated) to and from V (any subclass of AnimationVector).