I am programming an application in Android Studio , but I have encountered a problem:
When performing these steps, when you reopen the application, it does not remain in the last open activity. the Application restarts from scratch.
Does anyone know what I can do to keep the latest state of my application? That is, do not restart from scratch when I minimize it.