Skip to content

无法滚动问题 #22

Open
Open

Description

@BryceLee

您好,我使用了本例作为主要片段的布局最外层,id使用了本例中规定的id,内部子片段的布局是RelativeLayout,嵌套android.support.v4.widget.SwipeRefreshLayout,再嵌套listview
然后运行结果是无法滑动,外层无法滑动,内部Listview也无法滑动。请问这是什么原因?

Activity

  1. BryceLee commented on Oct 21, 2016

    @BryceLee
    Author

    好吧 原来是子片段布局里得放RecycleView~

  2. tmac1999 commented on Apr 26, 2017

    @tmac1999

    ListView 设置 android:nestedScrollingEnabled="true" 就可以滑动了

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