-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
点击进入然后马上点击回退键闪退 #677
Comments
现在解决就是,在 baseFragment 里面加一个标志位isAnimateFinish = false,当做完onEnterAnimationEnd,这个标志为isAnimateFinish = true, 然后在回退栈时候判断,基本能解决以上问题,但是缺陷就是做转场过程的时候不能回退,希望楼主能给出更好的方案 |
一种原因是 |
ButterKnife的 已经发布 v1.1.10,兼容了ButterKnife的 |
666, 效率真的是高 |
具体场景:
打开 fragment,立马按回退键,崩溃。
原因:在 onEnterAnimationEnd 初始化一些 view,防止 fragment 转场动画卡顿。但是当点击回退键fragment 结束之后 onEnterAnimationEnd 里面的函数还是会运行,导致 view 报空指针错误
The text was updated successfully, but these errors were encountered: