From d71938c87f26653641ced49a215b916caff2ded7 Mon Sep 17 00:00:00 2001 From: Denis Karmyshakov Date: Thu, 10 May 2018 21:24:06 +0300 Subject: [PATCH] ViewControllerNavigation: added wildcard for activity --- .../viewcontrollers/ViewControllerNavigation.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ) {