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

mAdded&mActive 有点问题 #1

Open
fkevery opened this issue Apr 28, 2019 · 0 comments
Open

mAdded&mActive 有点问题 #1

fkevery opened this issue Apr 28, 2019 · 0 comments

Comments

@fkevery
Copy link

fkevery commented Apr 28, 2019

mActive 应该不是 mAdded 的超集。因为 mAdded 中有可能存储在 mActive 中不存在的 Fragment。
你可以直接 detach,然后在 attach 一个 Fragment,这个 Fragment 就会只存在于 mAdded 中。虽然用法有点奇怪,但不会出任何问题。

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