ViewTransition
public class ViewTransition
Provides a support for tag it Parses tag it implement the transition it will update ConstraintSet or sets For asynchronous it will create and drive a MotionController.
Summary
Constants |
|
|---|---|
static final String |
CONSTRAINT_OVERRIDE = "ConstraintOverride" |
static final String |
CUSTOM_ATTRIBUTE = "CustomAttribute" |
static final String |
CUSTOM_METHOD = "CustomMethod" |
static final String |
KEY_FRAME_SET_TAG = "KeyFrameSet" |
static final int |
|
static final int |
|
static final int |
|
static final int |
|
static final int |
|
static final String |
VIEW_TRANSITION_TAG = "ViewTransition" |
Public methods |
|
|---|---|
int |
Gets the SharedValue it will be listening for. |
int |
|
int |
Gets the ID of the SharedValue it will be listening for. |
int |
Gets the type of transition to listen to. |
void |
setSharedValue(int sharedValue)sets the SharedValue it will be listening for. |
void |
setSharedValueCurrent(int sharedValueCurrent) |
void |
setSharedValueID(int sharedValueID)sets the ID of the SharedValue it will be listening for. |
void |
setStateTransition(int stateTransition)Sets the type of transition to listen to. |
String |
toString()debug string for a ViewTransition |
Constants
CONSTRAINT_OVERRIDE
public static final String CONSTRAINT_OVERRIDE = "ConstraintOverride"
VIEW_TRANSITION_TAG
public static final String VIEW_TRANSITION_TAG = "ViewTransition"
Public methods
getSharedValue
public int getSharedValue()
Gets the SharedValue it will be listening for.
| Returns | |
|---|---|
int |
getSharedValueID
public int getSharedValueID()
Gets the ID of the SharedValue it will be listening for.
| Returns | |
|---|---|
int |
the id of the shared value |
getStateTransition
public int getStateTransition()
Gets the type of transition to listen to.
| Returns | |
|---|---|
int |
ONSTATE_TRANSITION_* |
setSharedValue
public void setSharedValue(int sharedValue)
sets the SharedValue it will be listening for.
setSharedValueID
public void setSharedValueID(int sharedValueID)
sets the ID of the SharedValue it will be listening for.
setStateTransition
public void setStateTransition(int stateTransition)
Sets the type of transition to listen to.
| Parameters | |
|---|---|
int stateTransition |