Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static interface

LayoutTransition.TransitionListener

android.animation.LayoutTransition.TransitionListener

Class Overview

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

public abstract 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 The LayoutTransition sending out the event.
container The ViewGroup on which the transition is playing.
view The View object being affected by the transition animation.
transitionType The type of transition that is ending, APPEARING , DISAPPEARING , CHANGE_APPEARING , or CHANGE_DISAPPEARING .

public abstract 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 The LayoutTransition sending out the event.
container The ViewGroup on which the transition is playing.
view The View object being affected by the transition animation.
transitionType The type of transition that is beginning, APPEARING , DISAPPEARING , CHANGE_APPEARING , or CHANGE_DISAPPEARING .