[android] - harden activation/deactivation of underlying ref counting components
This commit is contained in:
@@ -120,7 +120,11 @@ class RecyclerViewActivity : AppCompatActivity() {
|
||||
}
|
||||
|
||||
fun onDestroy() {
|
||||
mapHolder?.mapView?.onDestroy()
|
||||
mapHolder?.mapView?.let {
|
||||
it.onPause()
|
||||
it.onStop()
|
||||
it.onDestroy()
|
||||
}
|
||||
}
|
||||
|
||||
class MapItem
|
||||
|
||||
Reference in New Issue
Block a user