Android Finish

最終更新日29 Nov 2013 07:25

onDestroy() The final call you receive before your activity is destroyed. This can happen either because the activity is finishing (someone called finish() on it, or because the system is temporarily destroying this instance of the activity to save space. You can distinguish between these two scenarios with the isFinishing() method.


Call this when your activity is done and should be closed. The ActivityResult is propagated back to whoever launched you via onActivityResult().