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

与RecyclerView一起使用时滑动事件会冲突 #10

Open
LaelLuo opened this issue Apr 9, 2019 · 0 comments
Open

与RecyclerView一起使用时滑动事件会冲突 #10

LaelLuo opened this issue Apr 9, 2019 · 0 comments

Comments

@LaelLuo
Copy link

LaelLuo commented Apr 9, 2019

不完美解决方法
使用RelativeLayout套嵌

<ScrollView
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <!--为了解决滑动事件冲突而添加的RL-->
        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:descendantFocusability="blocksDescendants">

            <android.support.v7.widget.RecyclerView
                android:id="@+id/mListView" />
        </RelativeLayout>

    </ScrollView>

但是还是有bug 会显示不了最后一条数据

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