iDeMonnnnnn / DeMon-ARA

🎈Activity Results API自动化注册&极简使用方案。

Home Page:https://demon.blog.csdn.net/article/details/123276161

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

在“开发者选项”中打开“不保留活动”来模拟内存回收

danatechgithub4 opened this issue · comments

正常情况下:
val intent = Intent(this, SearchActivity::class.java) forActivityResult(intent) { LogUtils.e("111111111111111") }

是可以收到回调的,但是当在“开发者选项”中打开“不保留活动”来模拟内存回收的时候,
是收不到回调的,官方Activity Results API没问题。

讨论贴:

https://juejin.cn/post/7081592111035858951#comment