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