Gomezgani Phiri Gomezgani Phiri - 2 years ago 82
Android Question

Behavior of calling finish() on activity that has focus

What would happen if the finish() method is called in the code of an Activity that currently has the focus because another Activity intended it?

Answer Source

When finish() is called, that activity is destroyed. The previous activity that is still running would then be shown.


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download