From b13e8dc827f03946d45f29aced27b0ca527241d7 Mon Sep 17 00:00:00 2001 From: Oksana Pokrovskaya Date: Thu, 15 Mar 2018 12:24:03 +0300 Subject: [PATCH] fixed set state error --- .../fragments/ViewControllerFragment.java | 19 ++++++++++--------- .../components/viewmodel/StateViewModel.kt | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/main/java/ru/touchin/roboswag/components/navigation/fragments/ViewControllerFragment.java b/src/main/java/ru/touchin/roboswag/components/navigation/fragments/ViewControllerFragment.java index 15a8129..c0bd1e2 100644 --- a/src/main/java/ru/touchin/roboswag/components/navigation/fragments/ViewControllerFragment.java +++ b/src/main/java/ru/touchin/roboswag/components/navigation/fragments/ViewControllerFragment.java @@ -103,7 +103,7 @@ public class ViewControllerFragment(application: Application, untilDestroy(Observable.just(Any()), Consumer { onStateCreated() }) } - protected fun onStateCreated() { + protected open fun onStateCreated() { }