Skip to content

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

Description

@yahier

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

Activity

  1. yahier commented on Apr 29, 2015

    @yahier
    Author

    自己来回答自己的问题。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

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