Skip to content

调用自动定位方法,Scroll到某个Item时,布局出现错乱 #121

Description

@QXH313

StaggeredGridLayoutManager layoutManager = (StaggeredGridLayoutManager) listView.getLayoutManager();
// layoutManager.scrollToPosition(position);
layoutManager.scrollToPositionWithOffset(position, 0);
这样自定定位之后布局出现错乱,有人遇到吗,求解决谢谢
@hongyangAndroid @

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