Skip to content
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

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

Open
QXH313 opened this issue Apr 23, 2018 · 0 comments
Open

Comments

@QXH313
Copy link

QXH313 commented Apr 23, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant