user2229066 user2229066 - 3 months ago 15
Java Question

After app close, return back to same activity

I am creating an android quiz application but the only thing I am struggling on is when the user is on a question and then they close the app, I want them to return back to that same question when they restart the app.

Is there a function I can use?

Answer Source

You should override onPause and onResume methods of your activity.