Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不保留活动问题 #1

Open
o0o0oo00 opened this issue Mar 12, 2020 · 0 comments
Open

不保留活动问题 #1

o0o0oo00 opened this issue Mar 12, 2020 · 0 comments

Comments

@o0o0oo00
Copy link
Owner

o0o0oo00 commented Mar 12, 2020

因为此种通过高阶函数来配置dialogFragment中的变量会存在一个问题,fragment在回收又restore的时候会取intent中的数据,但是通过apply来动态改变其中的变量,不会保存在intent中,再恢复的时候intent中没有值,就会导致无法恢复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant