finish()
Call this when your activity is done and should
be closed. The ActivityResult is propagated back to whoever launched
you via onActivityResult().finishActivity(int requestCode)
is used to finish another activity that you had previously started with startActivityForResult(Intent, int)requestCode
The request code of the activity that you had given to startActivityForResult()
. If there are multiple activities started with this request code, they will all be finished.
No comments:
Post a Comment