I want to go back to an already launched activity without recreating again.
  @Override
    public void onBackPressed() {
     Intent i = new Intent(SecondActivity.this, FirstActivity.class);
     this.startActivity(i);
    }
Instead of doing is there any other way to go back to another activity which is already created, which I get back with " Back button "
via Chebli Mohamed
 
Aucun commentaire:
Enregistrer un commentaire