What does finish () do in Android?

What does finish () do in Android?
Answer
finish() work in android. On Clicking the back button from the New Activity, the finish() method is called and the activity destroys and returns to the home screen.
 

Tìm kiếm

Back
Top