The Android Developer Challenge is back! Submit your idea before December 2.

TransitionListenerAdapter

open class TransitionListenerAdapter : Transition.TransitionListener
kotlin.Any
   ↳ androidx.transition.TransitionListenerAdapter

This adapter class provides empty implementations of the methods from . Any custom listener that cares only about a subset of the methods of this listener can simply subclass this adapter class instead of implementing the interface directly.

Summary

Public constructors

This adapter class provides empty implementations of the methods from .

Public methods

open Unit
onTransitionCancel(@NonNull transition: Transition)

open Unit
onTransitionEnd(@NonNull transition: Transition)

open Unit
onTransitionPause(@NonNull transition: Transition)

open Unit
onTransitionResume(@NonNull transition: Transition)

open Unit
onTransitionStart(@NonNull transition: Transition)

Public constructors

<init>

TransitionListenerAdapter()

This adapter class provides empty implementations of the methods from . Any custom listener that cares only about a subset of the methods of this listener can simply subclass this adapter class instead of implementing the interface directly.

Public methods

onTransitionCancel

open fun onTransitionCancel(@NonNull transition: Transition): Unit

onTransitionEnd

open fun onTransitionEnd(@NonNull transition: Transition): Unit

onTransitionPause

open fun onTransitionPause(@NonNull transition: Transition): Unit

onTransitionResume

open fun onTransitionResume(@NonNull transition: Transition): Unit

onTransitionStart

open fun onTransitionStart(@NonNull transition: Transition): Unit