I have an app with a side menu. The doubt I have that every time I use one of the menu options opens a new window.
} else if (id == R.id.cine) {
Intent intent = new Intent(this.getApplication(), Cine.class);
startActivityForResult(intent, 0);
finish();
So far, well, but I doubt I have to put the finish to close the previous window.
But I do not like how it is since I would like to be able to go back to the previous one, giving it back without being closed. But if I remove the finish then I open windows and they are like many open applications.
Is there any way to do it?
Thanks!