I will describe the situation: there is the main activity A and another activity B is launched on top of it. Later activity B closes and activity A. appears. So, does activity A call any method? Please give its name, if any.

    1 answer 1

    The onStart() method of the first activation is called.

    When you call onStart (), the window is not yet visible to the user, but will soon be visible. It is called just before the activity becomes visible to the user. Accompanied by calling the onResume () method if the activity gets the foreground, or by calling the onStop () method if it becomes hidden.