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

滑动冲突 #11

Closed
moonljt521 opened this issue Dec 15, 2016 · 2 comments
Closed

滑动冲突 #11

moonljt521 opened this issue Dec 15, 2016 · 2 comments

Comments

@moonljt521
Copy link

我用 一个滑动的控件(utr,下拉刷新的view)包裹了recyclerview 这样在使用您的swipeMenuLayout的时候左滑和上下滑动会冲突,体验很差,请问如何解决

@mcxtzhang
Copy link
Owner

我直接套了一个官方的下拉刷新控件没有任何问题呢。。。

<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.SwipeRefreshLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <android.support.v7.widget.RecyclerView
        android:id="@+id/rv"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#efefef"/>
    android:layout_width="match_parent"
    android:layout_height="match_parent">
</android.support.v4.widget.SwipeRefreshLayout>

@moonljt521
Copy link
Author

相当于自定义的一个recyclerView ,item的view用你的控件会出问题。
我自己研究下吧,也看看别人的框架

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

2 participants