Skip to content

Most visited

Recently visited

navigation
Added in API level 11

LayoutTransition.TransitionListener

public static interface LayoutTransition.TransitionListener

android.animation.LayoutTransition.TransitionListener


This interface is used for listening to starting and ending events for transitions.

Summary

Public methods

abstract void endTransition(LayoutTransition transition, ViewGroup container, View view, int transitionType)

This event is sent to listeners when any type of transition animation ends.

abstract void startTransition(LayoutTransition transition, ViewGroup container, View view, int transitionType)

This event is sent to listeners when any type of transition animation begins.

Public methods

endTransition

Added in API level 11
void endTransition (LayoutTransition transition, 
                ViewGroup container, 
                View view, 
                int transitionType)

This event is sent to listeners when any type of transition animation ends.

Parameters
transition LayoutTransition: The LayoutTransition sending out the event.
container ViewGroup: The ViewGroup on which the transition is playing.
view View: The View object being affected by the transition animation.
transitionType int: The type of transition that is ending, APPEARING, DISAPPEARING, CHANGE_APPEARING, or CHANGE_DISAPPEARING.

startTransition

Added in API level 11
void startTransition (LayoutTransition transition, 
                ViewGroup container, 
                View view, 
                int transitionType)

This event is sent to listeners when any type of transition animation begins.

Parameters
transition LayoutTransition: The LayoutTransition sending out the event.
container ViewGroup: The ViewGroup on which the transition is playing.
view View: The View object being affected by the transition animation.
transitionType int: The type of transition that is beginning, APPEARING, DISAPPEARING, CHANGE_APPEARING, or CHANGE_DISAPPEARING.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.