Register a MapboxLifecycleObserver to observe life cycle events from LifecycleOwner
the instance of mapView, will get the LifecycleOwner from mapview's parent
the observer that listen to the life cycle events