-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
在小米的安卓11手机上,会导致应用整体卡顿 #269
Comments
我也出现了这个情况,会导致Tab不断的恢复初始状态 Line 52 in e14fa79
|
其实也可以用onLayout中的(boolean changed)这个字段来进行判断 |
有人发布解决这个问题吗 |
没人fork一下项目么 |
很多人 fock 啊,出了什么问题? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
用户反馈应用卡顿,经过我的跟踪调试,发现在安卓11上,每个页面都卡顿。分析代码,发现,是CommonNavigator类的onLayout()方法被无限次调用,导致UI线程被占用从而整个app都卡顿,在小米的安卓11必现。别的手机的安卓11不知道是不是会出现。
我的修改办法,在CommonNavigator类中:
`` private boolean isLayout = false;
不知道这种修改方式是否合理,请作者评估修改下。
The text was updated successfully, but these errors were encountered: