Activity life cycle: What is the mandatory activity life cycle function that will g et called in case of configuration changes?

Answer: onPause() and onSaveInstanceState() 

Description:
In case of low memory or configuration changes, android will call both onPause() and onSaveInstanceState() with out fail. Exception: there is one exceptional case, that is if programmer is handling configuration changes, then in that case it will not call those functions.

No comments:

Post a Comment