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

章节4.3.2 第156行 图4.10的信息和我本地执行结果不一样 #33

Open
455595524 opened this issue Apr 25, 2019 · 0 comments
Open

Comments

@455595524
Copy link

455595524 commented Apr 25, 2019

这里面在addToBackStack(null)时,按第一次返回,不是您所述的“onCreate()和OncreateView()方法并不执行“,在log中看到onCreateView()是被执行的。
我理解在按左边碎片的按钮时,执行了OnDestoryView()了,所以会重新创建View。

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