TransitionValues


class TransitionValues


Data structure which holds cached values for the transition. The view field is the target which all of the values pertain to. The values field is a map which holds information for fields according to names selected by the transitions. These names should be unique to avoid clobbering values stored by other transitions, such as the convention project:transition_name:property_name. For example, the platform might store a property "alpha" in a transition "Fader" as "android:fader:alpha".

These values are cached during the captureStartValues capture} phases of a scene change, once when the start values are captured and again when the end values are captured. These start/end values are then passed into the transitions via the for createAnimator method.

Summary

Public constructors

This function is deprecated.

Use TransitionValues instead

Public functions

Boolean
equals(other: Any!)
Int
String

Public properties

(Mutable)Map<String!, Any!>!

The set of values tracked by transitions for this scene

View!

The View with these values.

Public constructors

TransitionValues

Added in 1.0.0
Deprecated in 1.1.0
TransitionValues()

TransitionValues

Added in 1.1.0
TransitionValues(view: View)

Public functions

equals

fun equals(other: Any!): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String

Public properties

values

Added in 1.0.0
val values: (Mutable)Map<String!, Any!>!

The set of values tracked by transitions for this scene

view

Added in 1.0.0
val viewView!

The View with these values. Should not be null.