Skip to content

Commit b199e76

Browse files
author
李泽鹏
committed
动画可自定义
1 parent 8cb5453 commit b199e76

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib_base/src/main/java/com/gxyj/base/helper/RouterHelper.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ class RouterHelper {
6464
fun gotoFrag(
6565
navController: NavController,
6666
@IdRes path: Int,
67+
bundle: Bundle? = null,
6768
@AnimRes enterAnim: Int = mEnterAnim,
68-
@AnimRes exitAnim: Int = mEnterAnim,
69-
bundle: Bundle? = null
69+
@AnimRes exitAnim: Int = mEnterAnim
7070
) {
7171
navController.navigate(path, bundle, navOptions {
7272
anim {

0 commit comments

Comments
 (0)