small name fix

This commit is contained in:
Gavriil Sitnikov 2015-11-17 07:26:04 +03:00
parent bde3767027
commit 5bd47bd293
1 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ public abstract class AbstractBaseFragment<TViewController extends AbstractBaseF
throw new IllegalStateException("Background fragments are deprecated - view shouldn't be null"); throw new IllegalStateException("Background fragments are deprecated - view shouldn't be null");
} }
viewController = createViewController(view, savedInstanceState); viewController = createViewController(view, savedInstanceState);
if (viewController.restoreStateOnCreate()) { if (viewController.doRestoreStateOnCreate()) {
viewController.restoreState(); viewController.restoreState();
} }
} }
@ -262,7 +262,7 @@ public abstract class AbstractBaseFragment<TViewController extends AbstractBaseF
return context; return context;
} }
protected boolean restoreStateOnCreate() { protected boolean doRestoreStateOnCreate() {
return true; return true;
} }