找回密码
 立即注册
相关推荐换一批
  1. QJ 96A-1997 机床夹具零件及部件 滑动平头压板
  2. GB/T 2861.7-2008 冲模导向装置 第7部分:滑动导向可卸导柱
  3. DL/T 5400-2007 水工建筑物滑动模板施工技术规范
  4. HB 4421-1990 C型导套
  5. SJ/T 10027-1991 KHTL型推拉式滑动开关详细规范
  6. SJ/T 10025-1991 KHX型旋转式滑动开关详细规范
  7. JY 0028-1999 滑动变阻器
  8. FZ/T 40001-1992 丝织物平滑度试验方法 斜面滑动法
  9. SJ 2629.1-1985 冷冲模 滑动导套
  10. SJ 2628.1-1985 冷冲模 滑动导柱
  11. SJ 2623.2-1985 冷冲模 滑动中间导柱下模座
  12. GB 50113-2005 滑动模板工程技术规范
  13. SJ/T 10341.5-1993 精冲模固定凸模式滑动导向模座 对角导柱上模座
  14. SJ/T 10341.4-1993 精冲模活动凸模式滑动导向模座 平放式对角导柱下模座
  15. SJ/T 10341.1-1993 精冲模活动凸模式滑动导向模座 座入式对角导柱上模座
  16. SJ/T 10341.10-1993 精冲模固定凸模式滑动导向模座 中间导柱活动模板
  17. SJ/T 10341.8-1993 精冲模固定凸模式滑动导向模座 中间导柱上模座
  18. SJ/T 10341.7-1993 精冲模固定凸模式滑动导向模座 对角导柱活动模板
  19. SJ/T 10341.6-1993 精冲模固定凸模式滑动导向模座 对角导柱下模座
  20. SJ/T 10339.3-1993 精冲模固定凸模式滑动导向模架 对角导柱模架
  21. JB/T 8070-1995 冲模模架零件 技术条件
  22. YB/T 4111-2002 铸口砖及座砖
  23. 中山大学附属小学2016-2017学年度一年级英语上学期期末学业水平测试卷
  24. 2013年新派英语一年级下册期末综合测试卷(含听力材料与参考答案)
源代码介绍
列表视图滑动以删除该项目。之前在论坛下载过类似的源代码,但是自己下载后没有看。突然想自己实现滑动删除,所以自己写了一个。他们的水平有限,思路也比较简单,仅供参考。
思路: 1:继承listview,重写onTouchEvent(..)方法监听滑动。
            2:获取滑动位置,转换为listview中对应item的位置。
            3:删除Adapter中对应的list(存储的数据)中的对应数据,更新listview完成一次删除。
Android listview 滑动删除(具体效果360手机卫士后台通知)

(Source code introduction
Slide in the list view to delete the item. I downloaded similar source code in the forum before, but I didn't see it after downloading. I suddenly wanted to realize sliding deletion by myself, so I wrote one myself. Their level is limited and their ideas are relatively simple, which is for reference only.
Idea: 1: inherit listview and rewrite ontouchevent (..) Method.
2: Get the sliding position and convert it to the position of the corresponding item in listview.
3: Delete the corresponding data in the corresponding list (stored data) in the adapter and update listview to complete the deletion.
Android listview sliding deletion (specific effect: 360 mobile guard background notification))

[下载]16520211350.rar




上一篇:Android Gps日志记录程序源码
下一篇:Android MP3播放器源码,带卡拉OK字幕