How to make an activity stop, rather then be destroyed, from the BACK key?

前端 未结 7 1339
心在旅途
心在旅途 2020-12-15 07:02

Right now an activity gets destroyed when the BACK key is pressed. How can I make it just stop ( i.e. keep all the variables, etc. alive ), rather then be destroyed?

7条回答
提交回复
热议问题