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

[偶现]出现fragment被释放但是界面还显示此fragment的情况 #1183

Open
ffyliu opened this issue Sep 2, 2019 · 1 comment
Open

Comments

@ffyliu
Copy link

ffyliu commented Sep 2, 2019

1.使用fragmenttation框架
2.进入主界面加载主fragment,然后点击一个连接启动一个webViewFragment(Fragment包含webView组件)
3.停留在此fragment,将app切换到后台,等待一段时间(时间不定,大概10分钟左右)
4.重新进入app,界面显示的是webViewFragment,但是打印输出fragment栈列表,只剩下mainFragment,点击返回,也是直接退出app,而不是返回到mainFragment

问题不是很好复现,想求问一下看看有什么思路可以进一步分析一下。多谢
版本号:1.1.10

@JantHsueh
Copy link

JantHsueh commented Jan 17, 2020

#1139 问题一样,

我写的这篇文章,应该能解答你的疑惑 调用removeViewInternal、removeView 屏幕还是显示被删除界面 的解决方法和源码分析

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

2 participants