美文网首页
Android onActivityResult和onResum

Android onActivityResult和onResum

作者: fumier | 来源:发表于2017-09-05 13:34 被阅读86次

    onResume在onActivityResult之后执行。

    protected void onActivityResult (int requestCode, int resultCode, Intent data)
    Since: API Level 1 Called when an activity you launched exits, giving you the requestCode you started it with, the resultCode it returned, and any additional data from it. The resultCode will be RESULT_CANCELED if the activity explicitly returned that, didn't return any result, or crashed during its operation. You will receive this call immediately before onResume() when your activity is re-starting.

    https://developer.android.com/reference/android/app/Activity.html

    相关文章

      网友评论

          本文标题:Android onActivityResult和onResum

          本文链接:https://www.haomeiwen.com/subject/kqpujxtx.html