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

自动的listview会自动上下滑动。 #8

Open
yahier opened this issue Apr 29, 2015 · 1 comment
Open

自动的listview会自动上下滑动。 #8

yahier opened this issue Apr 29, 2015 · 1 comment

Comments

@yahier
Copy link

yahier commented Apr 29, 2015

在展开之后,当向右滑动的时候,左边被隐藏的listview会自己上下滑动(通常是向下),有谁遇到过 解决了吗,我的listview的item有点多

@yahier
Copy link
Author

yahier commented Apr 29, 2015

自己来回答自己的问题。listview自己会滑动的解决办法是注释掉初始化时的lv.smoothScrollToPosi这句
dl.setDragListener(new DragListener() {
@OverRide
public void onOpen() {
//lv.smoothScrollToPosition(new Random().nextInt(30));
}

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