Back button and refreshing previous activity

后端 未结 11 1345
感动是毒
感动是毒 2020-12-02 06:01

If we have two activities:

  1. List of files and last modified time
  2. File editing activity

A user selects a file from the list and is taken

11条回答
  •  攒了一身酷
    2020-12-02 06:36

    The think best way to to it is using

    Intent i = new Intent(this.myActivity, SecondActivity.class); 
    startActivityForResult(i, 1);
    

提交回复
热议问题