public static interface Transition.TransitionListener
Modifier and Type | Method and Description |
---|---|
void |
onTransitionCancel(Transition transition)
Notification about the cancellation of the transition.
|
void |
onTransitionEnd(Transition transition)
Notification about the end of the transition.
|
void |
onTransitionPause(Transition transition)
Notification when a transition is paused.
|
void |
onTransitionResume(Transition transition)
Notification when a transition is resumed.
|
void |
onTransitionStart(Transition transition)
Notification about the start of the transition.
|
void onTransitionStart(Transition transition)
transition
- The started transition.void onTransitionEnd(Transition transition)
onTransitionEnd(Transition)
is always called,
regardless of whether the transition was canceled or played
through to completion.transition
- The transition which reached its end.void onTransitionCancel(Transition transition)
TransitionSet
on
a child transition which has not yet started. This allows the child
transition to restore state on target objects which was set at
createAnimator()
time.transition
- The transition which was canceled.void onTransitionPause(Transition transition)
TransitionSet
on
a child transition which has not yet started. This allows the child
transition to restore state on target objects which was set at
createAnimator()
time.transition
- The transition which was paused.void onTransitionResume(Transition transition)
TransitionSet
on
a child transition which has not yet started. This allows the child
transition to restore state which may have changed in an earlier call
to onTransitionPause(Transition)
.transition
- The transition which was resumed.