Make savedInstanceState nullable
This commit is contained in:
parent
77331dd2a2
commit
2c264ecd66
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue