@Override protected void onDestroy() { // TODO Auto-generated method stub super.onDestroy(); mMapView.recycle(); //Releases the resources referenced by the MapView so that they can be recycled. } @Override protected void onPause() { super.onPause(); mMapView.pause(); } @Override protected void onResume() { super.onResume(); mMapView.unpause(); }
The issue is related to how MapView.recycle() handles releasing the OpenGL context. I believe this is a bug and will start looking into it and follow up when I have a workaround and/or fix.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.