Which method is called when my activity focuses? (after a phone call, back key, home key, etc.)

I have a problem with my application. It has many events. Two of them have google maps. My activity has a full MapView, and my activity B has a small MapView. Well, when I am in action B and sometimes press the key until I return to my activity A, the map of my action A is displayed with errors, and there is a black zone at the bottom of the screen. This only happens when I squeeze B activity.

Because of this, I need to know which method is called in A when it receives focus, because I need to implement / override it to SEND AN ALL WINDOW AGAIN FROM SCRATCH.

And what code do I need to put in order to redraw the whole window from scratch?

+6
android google-maps application-lifecycle
source share
1 answer
@Override public void onResume() { super.onResume(); } 
+23
source share

All Articles