How to know when you returned to an activity because of the back button?

前端 未结 0 356
南方客
南方客 2020-12-04 07:34

My MainActivity leads to SecondActivity. If the user presses the phone\'s back button the app goes back to the MainActivity.

How can I execute something when this hap

相关标签:
回答
  • 消灭零回复
提交回复
热议问题