AnimBuilder
class AnimBuilder
kotlin.Any | |
↳ | androidx.navigation.AnimBuilder |
DSL for setting custom Animation or Animator resources on a NavOptionsBuilder
Summary
Public constructors |
|
---|---|
<init>() DSL for setting custom Animation or Animator resources on a NavOptionsBuilder |
Properties |
|
---|---|
Int |
The custom Animation or Animator resource for the enter animation. |
Int |
The custom Animation or Animator resource for the exit animation. |
Int |
The custom Animation or Animator resource for the enter animation when popping off the back stack. |
Int |
The custom Animation or Animator resource for the exit animation when popping off the back stack. |
Public constructors
Properties
enter
var enter: 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: 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: 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: 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