TransitionValues
This package is part of the
Android support library which
is no longer maintained.
The support library has been superseded by AndroidX
which is part of Jetpack .
We recommend using the AndroidX libraries in all new projects. You should also consider
migrating existing projects to AndroidX.
To find the AndroidX class that maps to this deprecated class, see the AndroidX
support library class
mappings .
public
class
TransitionValues
extends Object
java.lang.Object
↳
android.support.transition.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(TransitionValues)
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(android.view.ViewGroup, TransitionValues, TransitionValues)
method.
Summary
Fields
public
final
Map<String, Object>
values
The set of values tracked by transitions for this scene
public
View
view
The View with these values
Inherited methods
From
class
java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
final
Class<?>
getClass()
int
hashCode()
final
void
notify()
final
void
notifyAll()
String
toString()
final
void
wait(long arg0, int arg1)
final
void
wait(long arg0)
final
void
wait()
Fields
values
Map<String, Object> values
The set of values tracked by transitions for this scene
view
View view
The View with these values
Public constructors
TransitionValues
TransitionValues ()
Public methods
equals
boolean equals (Object other)