Skip to content

在小米手机无限 requestLayout(), 导致文字抖动、不断恢复初始位置等问题 [BUG] #271

Description

@sunny-zhang-98

重新布局导致重新选择Page
重选Page导致Tab的onSelect执行
在OnSelect的时候设置了字体 Bold 导致了再次重新布局

暂时的解决方案:
mReselectWhenLayout = false

我不知道作者在这个字段注释中说的极端情况是什么情况

private boolean mReselectWhenLayout = true; // PositionData准备好时,是否重新选中当前页,为true可保证在极端情况下指示器状态正确

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions