-
Notifications
You must be signed in to change notification settings - Fork 143
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
滑动返回时有时候屏幕会闪一下 #14
Comments
测试了一下发现应该是兼容性问题,公司另外几个测试机都不闪,就oppo R7 Plus Android5.1.1这个机型上出现这个问题。 |
恩,是的。现在的方法我也是在许多手机上试过的,不过还是不能满足所有机型,只能慢慢兼容吧 |
@XBeats 暂时解决啦,这个bug主要是因为finish activity的时候并不是立即destroy的,所以中间会有段时间在ActivityLifecycleHelper.activities 中会储存已经finish掉的activity,这时进行页面绘制的时候其实绘制的是finish掉但没有destroy掉的activity,如下加上几行代码解决了 |
fix it: #35 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在完成动画后屏幕会闪一下,非必现,但是出现概率很高
The text was updated successfully, but these errors were encountered: