android jump from page A to page B life cycle method execution order

As can be seen from the above figure, the execution sequence of the life cycle of the Act jumping from page A to page B is:

First execute the onPause method of the A page and then the onCreate method of the B page and the onStart method

 The onResume method is now visible on page B and has focus onStop page A

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326608197&siteId=291194637