Skip to content

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

@QXH313

Description

@QXH313

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

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