Merge pull request #97 from TouchInstinct/feature/new-sdk-version
Upped SDK v
This commit is contained in:
commit
a56e93fde3
|
|
@ -28,7 +28,7 @@ task clean(type: Delete) {
|
|||
ext {
|
||||
ext.buildScriptsDir = "$rootDir/BuildScripts"
|
||||
versions = [
|
||||
compileSdk : 28,
|
||||
compileSdk : 29,
|
||||
appcompat : '1.0.2',
|
||||
androidx : '1.0.0',
|
||||
material : '1.0.0',
|
||||
|
|
|
|||
|
|
@ -67,7 +67,8 @@ class NavigationContainerFragment : Fragment() {
|
|||
containerLayoutId = args.getInt(CONTAINER_LAYOUT_ID_ARG)
|
||||
|
||||
if (savedInstanceState == null) {
|
||||
navigation.setInitialViewController(getViewControllerClass(), args.getParcelable(VIEW_CONTROLLER_STATE_ARG))
|
||||
navigation.setInitialViewController(getViewControllerClass(), args.getParcelable(VIEW_CONTROLLER_STATE_ARG)
|
||||
?: throw ShouldNotHappenException("Fragment state must not be null"))
|
||||
}
|
||||
} ?: throw ShouldNotHappenException("Fragment is not instantiable without arguments")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue