I\'m developing android applications for a while, and followed a lot of posts about activity life cycle, and application\'s life cycle.
I know Activity.finish
@user3282164 According to the Activity life-cycle it should go through onPause()
-> onStop()
-> onDestroy()
upon calling finish()
.
The diagram does not show any straight path from [Activity Running] to [onDestroy()
] caused by the system.
onStop() doc says "Note that this method may never be called, in low memory situations where the system does not have enough memory to keep your activity's process running after its onPause() method is called."