Will calling finish() on an Activity calls all the usual activity life cycle method?

Yes, except if you are calling it from onCreate, in which case onDestroy() will be immediately called without any of the rest of the activity lifecycle (onStart(), onResume(), onPause(), etc) executing.

No comments:

Post a Comment