When I return back to my Activity onCreate is raised instead of onActivityResult?

流过昼夜 提交于 2019-11-29 17:01:20
Tomer Mor

most of the time Back button will finish the activity unless you specific override the

OnBackPressed()

I think your problem is lack of resources, or maybe you have some developer options like kill activty flag or limit background process check this.

Update

Go to setting-> developer options unchecked don't keep activities and background process limit set to standard limit.

Perhaps the back button doesn't finish the Acivity. So, override onBackPressed.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!