android.transition.Transition.TransitionListener |
A transition listener receives notifications from a transition. Notifications indicate transition lifecycle events.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Notification about the cancellation of the transition.
|
||||||||||
|
Notification about the end of the transition.
|
||||||||||
|
Notification when a transition is paused.
|
||||||||||
|
Notification when a transition is resumed.
|
||||||||||
|
Notification about the start of the transition.
|
Notification about the cancellation of the transition.
Note that cancel may be called by a parent
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. |
---|
Notification about the end of the transition. Canceled transitions
will always notify listeners of both the cancellation and end
events. That is,
onTransitionEnd(Transition)
is always called,
regardless of whether the transition was canceled or played
through to completion.
transition | The transition which reached its end. |
---|
Notification when a transition is paused.
Note that createAnimator() may be called by a parent
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. |
---|
Notification when a transition is resumed.
Note that resume() may be called by a parent
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. |
---|
Notification about the start of the transition.
transition | The started transition. |
---|