java - 将 UnderlayButton 添加到 Partial Swipe ,然后进一步将部分滑动滑动到完全滑动,它将从 Recycler View 中删除该项目
问题描述
我正在尝试在 Recycler View Item 上实现部分滑动和完全滑动。我已经使用 UnderlayButton 成功实现了部分滑动,现在我想实现一个功能,如果用户在部分滑动后尝试滑动,项目将被完全滑动并从 RecyclerView 中删除。
解决方案
推荐阅读
- java - Spring Boot 使用 save 永远不会在 Postgresql 表中插入一行
- c - 如何在 C 中使用外部函数中初始化向量的大小?
- python - 将 html 表数据发送到烧瓶方法并从数据库中检索信息
- php - 如何为我的项目创建 PSR-4 自动加载器?
- python - 这是使用静态函数的好标准吗?
- c# - 登录时 sql server 和 c# 登录出现问题显示 System.Data.SqlClient.SqlException:'无效的对象名称'0Stock.dbo.Login'。
- javascript - 从输入中获取用户输入(数字)
- excel - Q:如何动态扩展记录
- javascript - JavaScript 中的 toString():为什么 toString() 仍然被调用,因为 valueOf() 原型用于将对象类型转换为数字
- python - 错误“NameError:名称'logdir'未定义”