I'm learning Android programming for a class, and I have a quick question about how finish() fits into the Activity lifecycle.
When you make a call to finish(), what lifecycle callback is started? I presume it's onPause(), then onStop() and onDestroy(). Is this correct?
Really, I just want to make sure that it doesn't jump straight to onDestroy().
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…