SequentialTransitionSet

Runs multiple Transitions sequentially.

Setting a duration to this set will distribute the duration to each child transition based on its weight. Interpolator is also segmented and applied to the transitions.

(Background) A normal TransitionSet simply sets its properties to child transitions as they are. This can be problematic for sequential transition sets. For example, setting a duration of 300ms means that the entire duration will be the multiple of 300ms and the child count.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun Transition.addEndListener(onEnd: (transition: Transition) -> Unit)
Link copied to clipboard
Link copied to clipboard
inline fun Transition.addListener(crossinline onTransitionEnd: (Transition) -> Unit = {}, crossinline onTransitionResume: (Transition) -> Unit = {}, crossinline onTransitionPause: (Transition) -> Unit = {}, crossinline onTransitionCancel: (Transition) -> Unit = {}, crossinline onTransitionStart: (Transition) -> Unit = {})
Link copied to clipboard
open override fun addTarget(@NonNull p0: View): TransitionSet
open override fun addTarget(@NonNull p0: Class<*>): TransitionSet
open override fun addTarget(@IdRes p0: Int): TransitionSet
open override fun addTarget(@NonNull p0: String): TransitionSet
Link copied to clipboard
open override fun addTransition(transition: Transition): TransitionSet
fun addTransition(transition: Transition, weight: Float): TransitionSet
Link copied to clipboard
open override fun captureEndValues(@NonNull p0: TransitionValues)
Link copied to clipboard
Link copied to clipboard
open override fun clone(): Transition
Link copied to clipboard
Link copied to clipboard
open override fun excludeTarget(@NonNull p0: View, p1: Boolean): Transition
open override fun excludeTarget(@NonNull p0: Class<*>, p1: Boolean): Transition
open override fun excludeTarget(p0: Int, p1: Boolean): Transition
open override fun excludeTarget(@NonNull p0: String, p1: Boolean): Transition
Link copied to clipboard
inline fun TransitionSet.forEach(action: (transition: Transition) -> Unit)
Link copied to clipboard
inline fun TransitionSet.forEachIndexed(action: (index: Int, transition: Transition) -> Unit)
Link copied to clipboard
operator fun TransitionSet.get(i: Int): Transition
Link copied to clipboard
open override fun getDuration(): Long
Link copied to clipboard
Link copied to clipboard
open override fun getInterpolator(): TimeInterpolator?
Link copied to clipboard
open fun getName(): String
Link copied to clipboard
open fun getOrdering(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getStartDelay(): Long
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun isSeekingSupported(): Boolean
Link copied to clipboard
Link copied to clipboard
inline fun Transition.onTransitionCancel(crossinline onTransitionCancel: (Transition) -> Unit = { _ -> })
Link copied to clipboard
inline fun Transition.onTransitionEnd(crossinline onTransitionEnd: (Transition) -> Unit = { _ -> })
Link copied to clipboard
inline fun Transition.onTransitionPause(crossinline onTransitionPause: (Transition) -> Unit = { _ -> })
Link copied to clipboard
inline fun Transition.onTransitionResume(crossinline onTransitionResume: (Transition) -> Unit = { _ -> })
Link copied to clipboard
inline fun Transition.onTransitionStart(crossinline onTransitionStart: (Transition) -> Unit = { _ -> })
Link copied to clipboard
Link copied to clipboard
operator fun TransitionSet.plusAssign(transition: Transition)
Link copied to clipboard
Link copied to clipboard
open override fun removeTarget(@NonNull p0: View): TransitionSet
open override fun removeTarget(@NonNull p0: Class<*>): TransitionSet
open override fun removeTarget(@IdRes p0: Int): TransitionSet
open override fun removeTarget(@NonNull p0: String): TransitionSet
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun setDuration(duration: Long): TransitionSet
Link copied to clipboard
Link copied to clipboard
open override fun setInterpolator(interpolator: TimeInterpolator?): TransitionSet
Link copied to clipboard
open fun setMatchOrder(@Nullable vararg p0: Int)
Link copied to clipboard
open override fun setOrdering(ordering: Int): TransitionSet
Link copied to clipboard
open override fun setPathMotion(@Nullable p0: PathMotion?)
Link copied to clipboard
Link copied to clipboard
open override fun setStartDelay(p0: Long): TransitionSet
Link copied to clipboard
open override fun toString(): String