transitionx / in.arunkumarsampath.transitionx.transition.set / TransitionSetBuilder / fade

fade

inline fun fade(fadeMode: Int = Fade.IN or Fade.OUT, fadeBuilder: FadeBuilder.() -> Unit = {}): Unit

Adds a Fade transition to this transition. Fade triggers on visibility changes.

fadeMode can be used to configure whether this fade transition triggers on Visibility.onAppear or Visibility.onDisappear or both.

See Also

Visibility

Fade

FadeMode