Make savedInstanceState nullable

This commit is contained in:
NoDopezzz 2020-11-24 13:07:15 +03:00
parent 77331dd2a2
commit 2c264ecd66
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ abstract class AbstractMapManager<TMapView : View, TMap : Any, TLocation : Any>(
this.mapListener = mapListener
}
open fun onCreate(savedInstanceState: Bundle) = Unit
open fun onCreate(savedInstanceState: Bundle?) = Unit
open fun onDestroy() = Unit

View File

@ -30,7 +30,7 @@ class GoogleMapManager(mapView: MapView) : AbstractMapManager<MapView, GoogleMap
}
}
override fun onCreate(savedInstanceState: Bundle) {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
mapView.onCreate(savedInstanceState)
}