diff --git a/src/main/java/ru/touchin/roboswag/components/navigation/viewcontrollers/ViewControllerNavigation.kt b/src/main/java/ru/touchin/roboswag/components/navigation/viewcontrollers/ViewControllerNavigation.kt index 9bf99dd..a8e4b87 100644 --- a/src/main/java/ru/touchin/roboswag/components/navigation/viewcontrollers/ViewControllerNavigation.kt +++ b/src/main/java/ru/touchin/roboswag/components/navigation/viewcontrollers/ViewControllerNavigation.kt @@ -54,7 +54,7 @@ open class ViewControllerNavigation( * @param TState Type of state of fragment. */ fun pushViewController( - viewControllerClass: Class>, + viewControllerClass: Class>, state: TState, addToStack: Boolean = true, transactionSetup: ((FragmentTransaction) -> Unit)? = null @@ -82,7 +82,7 @@ open class ViewControllerNavigation( * @param TTargetFragment Type of target fragment. */ fun pushViewControllerForResult( - viewControllerClass: Class>, + viewControllerClass: Class>, state: TState, targetFragment: TTargetFragment, targetRequestCode: Int, @@ -109,7 +109,7 @@ open class ViewControllerNavigation( * @param TState Type of state of fragment. */ fun setViewControllerAsTop( - viewControllerClass: Class>, + viewControllerClass: Class>, state: TState, addToStack: Boolean = true, transactionSetup: ((FragmentTransaction) -> Unit)? = null @@ -135,7 +135,7 @@ open class ViewControllerNavigation( * @param TState Type of state of fragment. */ fun setInitialViewController( - viewControllerClass: Class>, + viewControllerClass: Class>, state: TState, transactionSetup: ((FragmentTransaction) -> Unit)? = null ) {