问题描述
所以我做了一些搜索,但没有找到一个很好的答案。任何人谁是熟悉的Android 4.0都知道看中了刷卡删除正在运行的应用。我想要实现这个变成一个动态清单。
so i've done some searching but haven't found a good answer. anyone who's familiar with android 4.0 knows the fancy swipe to remove running apps. i'm trying to implement this into a dynamic list.
当我说动,这是正在建设一个基础适配器和持有人的名单。
when i say dynamic, it's a list being built with a base adapter and holder's.
我想知道如果任何人有一个如何实现这个功能,刷卡进入的动态列表一个很好的例子。我希望它有列表中倒塌的元素被删除后,重新走到一起的花哨的动画和一切。但是,现在,我正在寻找关于如何正确地实现一个很好的起点。
i'm wondering if anyone has a good example of how to implement this swipe feature into a dynamic list. i want it to have the fancy animation and everything of the list collapsing back together after an element is removed. but, for now, i'm looking for a good starting point on how to properly implement this.
任何及所有的帮助总是AP preciated。谢谢大家!
any and all help is always appreciated. thanks all!
推荐答案
SwipeListView 是一个极好的ListView的扩展,做到这一点。一个演示应用程序,也可在谷歌播放在这里:的
SwipeListView is an excellent ListView extension that does this. A demo application is also available on Google Play here: https://play.google.com/store/apps/details?id=com.fortysevendeg.android.swipelistview
这篇关于Android的刷卡删除列表行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!