Giter Site home page Giter Site logo

Comments (4)

MoriatyHe avatar MoriatyHe commented on May 1, 2024

我们要明白一下侧滑删除的原理,首先是监控侧滑这个手势,然后显示一个或几个按钮,再点击执行相应的操作,所以需要变化的是itemview 的布局以及添加对按钮的监听事件。

from baserecyclerviewadapterhelper.

 avatar commented on May 1, 2024

我已经实现了,
<com.chauthai.swipereveallayout.SwipeRevealLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/white" app:dragEdge="right" app:mode="same_level"> <FrameLayout/><!-- 右侧 --> <FrameLayout/><!-- 左侧 --> </com.chauthai.swipereveallayout.SwipeRevealLayout>

from baserecyclerviewadapterhelper.

bowen-xiao avatar bowen-xiao commented on May 1, 2024

新的问题又来了,com.chauthai.swipereveallayout.SwipeRevealLayout 集成后,发现不能拖动排序了

from baserecyclerviewadapterhelper.

CymChad avatar CymChad commented on May 1, 2024

可组合BRVAH使用:https://github.com/anzaizai/EasySwipeMenuLayout

from baserecyclerviewadapterhelper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.