如何修复工具栏闪烁?
我有下一个布局:
<androidx.coordinatorlayout.widget.CoordinatorLayout>
<com.google.android.material.appbar.AppBarLayout ... />
<androidx.recyclerview.widget.RecyclerView ... />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
一切正常,但是当我通过此布局导航回片段时,在工具栏上绘制了回收即可项目时,有第二个,一切都很好。我该如何修复?
I have the next layout:
<androidx.coordinatorlayout.widget.CoordinatorLayout>
<com.google.android.material.appbar.AppBarLayout ... />
<androidx.recyclerview.widget.RecyclerView ... />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
Everything works fine, but when I navigate back to the fragment with this layout, there is a second when RecyclerView items are drawn on the toolbar, and everything is fine again. How can I fix it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论