Package-level declarations
Types
Link copied to clipboard
Usage val dissolve = Dissolve().apply { addTarget(image) duration = 200L interpolator = FAST_OUT_SLOW_IN } TransitionManager.beginDelayedTransition(card, dissolve)
Link copied to clipboard
Usage
Link copied to clipboard
class TransitionEndListener(val onEnd: (transition: Transition) -> Unit) : Transition.TransitionListener
Functions
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
inline fun <T : ImageView> T.fadeScaleTransition(duration: Long = 500, minScale: Float = 0.7f, crossinline action: T.() -> Unit)
Animate a transition a given imageview If it is not shown, the action will be invoked directly and no further actions will be made If it is already shown, scaling and alpha animations will be added to the action
Link copied to clipboard
inline fun Transition.onTransitionCancel(crossinline onTransitionCancel: (Transition) -> Unit = { _ -> })
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard