set Detached Listener
open fun setDetachedListener(@NonNull detachedListener: MapLibreSurfaceView.OnSurfaceViewDetachedListener)
Set a listener that gets notified when the view is detached from window.
Parameters
detached Listener
listener