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

Functions

Link copied to clipboard
fun Transition.addEndListener(onEnd: (transition: Transition) -> Unit)
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
fun Activity.animate(intent: Intent, transitionImage: View, EXTRA_IMAGE: String)
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
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
inline fun RecyclerView.stagger(staggerTransition: StaggerTransition.() -> Unit = {})
Link copied to clipboard
fun Context.transition(enterTransition: Int, exitTransition: Int)
Link copied to clipboard
inline fun ViewGroup.transitionAuto(builder: AutoTransition.() -> Unit = {})
Link copied to clipboard
inline fun ViewGroup.transitionDelayed(@TransitionRes id: Int, builder: Transition.() -> Unit = {})