File tree Expand file tree Collapse file tree
lib_base/src/main/java/com/gxyj/base/helper Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class RouterHelper {
4242 fun gotoAty (
4343 path : String ,
4444 @AnimRes enterAnim : Int = mEnterAnim,
45- @AnimRes exitAnim : Int = mEnterAnim
45+ @AnimRes exitAnim : Int = mExitAnim
4646 ): Postcard {
4747 return ARouter .getInstance().build(path)
4848 .withTransition(enterAnim, exitAnim)
@@ -55,7 +55,7 @@ class RouterHelper {
5555 fun gotoAtySingleTask (
5656 path : String ,
5757 @AnimRes enterAnim : Int = mEnterAnim,
58- @AnimRes exitAnim : Int = mEnterAnim
58+ @AnimRes exitAnim : Int = mExitAnim
5959 ): Postcard {
6060 return gotoAty(path, enterAnim, exitAnim)
6161 .withFlags(Intent .FLAG_ACTIVITY_SINGLE_TOP or Intent .FLAG_ACTIVITY_CLEAR_TOP )
@@ -66,7 +66,7 @@ class RouterHelper {
6666 @IdRes path : Int ,
6767 bundle : Bundle ? = null,
6868 @AnimRes enterAnim : Int = mEnterAnim,
69- @AnimRes exitAnim : Int = mEnterAnim
69+ @AnimRes exitAnim : Int = mExitAnim
7070 ) {
7171 navController.navigate(path, bundle, navOptions {
7272 anim {
You can’t perform that action at this time.
0 commit comments