yanzhenjie / SwipeRecyclerView

:melon: RecyclerView侧滑菜单,Item拖拽,滑动删除Item,自动加载更多,HeaderView,FooterView,Item分组黏贴。
https://github.com/yanzhenjie/SwipeRecyclerView
Apache License 2.0
5.65k stars 1.09k forks source link

没办法实现一个RecycleView既可以侧滑删除 又可以上拉和下拉加载 还可以根据分组悬浮头部么? #246

Closed KateChris closed 5 years ago

KateChris commented 5 years ago
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
    android:id="@+id/refresh_layout"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:layout_behavior="@string/appbar_scrolling_view_behavior">

    <com.yanzhenjie.recyclerview.widget.StickyNestedScrollView
        android:id="@+id/scroll_view"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:layout_behavior="@string/appbar_scrolling_view_behavior">

        <com.yanzhenjie.recyclerview.SwipeRecyclerView
            android:id="@+id/recycler_view"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />
    </com.yanzhenjie.recyclerview.widget.StickyNestedScrollView>
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>

这种写法没法兼容 上拉加载无法正常使用

yanzhenjie commented 5 years ago

悬浮分组头部这个暂时没有实现。

KateChris commented 5 years ago

感谢 已经帮了大忙了