Tú Linh Nguyễn
New member
What does finish () do in Android?
Answer
When calling finish() on an activity, the method onDestroy() is executed. This method can do things like:
Dismiss any dialogs the activity was managing.
Close any cursors the activity was managing
.
Answer
When calling finish() on an activity, the method onDestroy() is executed. This method can do things like:
Dismiss any dialogs the activity was managing.
Close any cursors the activity was managing
.