DSL for setting custom Animation or Animator resources on a NavOptionsBuilder

Summary

Public constructors

android

Public properties

@AnimRes @AnimatorRes Int

The custom Animation or Animator resource for the enter animation.

android
@AnimRes @AnimatorRes Int

The custom Animation or Animator resource for the exit animation.

android
@AnimRes @AnimatorRes Int

The custom Animation or Animator resource for the enter animation when popping off the back stack.

android
@AnimRes @AnimatorRes Int

The custom Animation or Animator resource for the exit animation when popping off the back stack.

android

Public constructors

AnimBuilder

AnimBuilder()

Public properties

enter

var enter: @AnimRes @AnimatorRes Int

The custom Animation or Animator resource for the enter animation.

Note: Animator resources are not supported for navigating to a new Activity

exit

var exit: @AnimRes @AnimatorRes Int

The custom Animation or Animator resource for the exit animation.

Note: Animator resources are not supported for navigating to a new Activity

popEnter

var popEnter: @AnimRes @AnimatorRes Int

The custom Animation or Animator resource for the enter animation when popping off the back stack.

Note: Animator resources are not supported for navigating to a new Activity

popExit

var popExit: @AnimRes @AnimatorRes Int

The custom Animation or Animator resource for the exit animation when popping off the back stack.

Note: Animator resources are not supported for navigating to a new Activity