实例介绍
Android ListView侧滑的实现,滑动删除,滑动展开。和QQ5.2效果基本一致。
【实例截图】
【核心代码】
android-slidelistview
└── android-slidelistview
├── oldninedroid_library
│ ├── AndroidManifest.xml
│ ├── bin
│ │ ├── AndroidManifest.xml
│ │ ├── classes
│ │ │ └── com
│ │ │ └── nineoldandroids
│ │ │ ├── animation
│ │ │ │ ├── Animator$AnimatorListener.class
│ │ │ │ ├── Animator.class
│ │ │ │ ├── AnimatorInflater.class
│ │ │ │ ├── AnimatorListenerAdapter.class
│ │ │ │ ├── AnimatorSet$1.class
│ │ │ │ ├── AnimatorSet$AnimatorSetListener.class
│ │ │ │ ├── AnimatorSet$Builder.class
│ │ │ │ ├── AnimatorSet$Dependency.class
│ │ │ │ ├── AnimatorSet$DependencyListener.class
│ │ │ │ ├── AnimatorSet$Node.class
│ │ │ │ ├── AnimatorSet.class
│ │ │ │ ├── ArgbEvaluator.class
│ │ │ │ ├── FloatEvaluator.class
│ │ │ │ ├── FloatKeyframeSet.class
│ │ │ │ ├── IntEvaluator.class
│ │ │ │ ├── IntKeyframeSet.class
│ │ │ │ ├── Keyframe$FloatKeyframe.class
│ │ │ │ ├── Keyframe$IntKeyframe.class
│ │ │ │ ├── Keyframe$ObjectKeyframe.class
│ │ │ │ ├── Keyframe.class
│ │ │ │ ├── KeyframeSet.class
│ │ │ │ ├── ObjectAnimator.class
│ │ │ │ ├── PreHoneycombCompat$10.class
│ │ │ │ ├── PreHoneycombCompat$11.class
│ │ │ │ ├── PreHoneycombCompat$12.class
│ │ │ │ ├── PreHoneycombCompat$13.class
│ │ │ │ ├── PreHoneycombCompat$14.class
│ │ │ │ ├── PreHoneycombCompat$1.class
│ │ │ │ ├── PreHoneycombCompat$2.class
│ │ │ │ ├── PreHoneycombCompat$3.class
│ │ │ │ ├── PreHoneycombCompat$4.class
│ │ │ │ ├── PreHoneycombCompat$5.class
│ │ │ │ ├── PreHoneycombCompat$6.class
│ │ │ │ ├── PreHoneycombCompat$7.class
│ │ │ │ ├── PreHoneycombCompat$8.class
│ │ │ │ ├── PreHoneycombCompat$9.class
│ │ │ │ ├── PreHoneycombCompat.class
│ │ │ │ ├── PropertyValuesHolder$FloatPropertyValuesHolder.class
│ │ │ │ ├── PropertyValuesHolder$IntPropertyValuesHolder.class
│ │ │ │ ├── PropertyValuesHolder.class
│ │ │ │ ├── TimeAnimator$TimeListener.class
│ │ │ │ ├── TimeAnimator.class
│ │ │ │ ├── TypeEvaluator.class
│ │ │ │ ├── ValueAnimator$1.class
│ │ │ │ ├── ValueAnimator$2.class
│ │ │ │ ├── ValueAnimator$3.class
│ │ │ │ ├── ValueAnimator$4.class
│ │ │ │ ├── ValueAnimator$5.class
│ │ │ │ ├── ValueAnimator$AnimationHandler.class
│ │ │ │ ├── ValueAnimator$AnimatorUpdateListener.class
│ │ │ │ └── ValueAnimator.class
│ │ │ ├── BuildConfig.class
│ │ │ ├── util
│ │ │ │ ├── FloatProperty.class
│ │ │ │ ├── IntProperty.class
│ │ │ │ ├── NoSuchPropertyException.class
│ │ │ │ ├── Property.class
│ │ │ │ └── ReflectiveProperty.class
│ │ │ └── view
│ │ │ ├── animation
│ │ │ │ └── AnimatorProxy.class
│ │ │ ├── ViewHelper$Honeycomb.class
│ │ │ ├── ViewHelper.class
│ │ │ ├── ViewPropertyAnimator.class
│ │ │ ├── ViewPropertyAnimatorHC$1.class
│ │ │ ├── ViewPropertyAnimatorHC$AnimatorEventListener.class
│ │ │ ├── ViewPropertyAnimatorHC$NameValuesHolder.class
│ │ │ ├── ViewPropertyAnimatorHC$PropertyBundle.class
│ │ │ ├── ViewPropertyAnimatorHC.class
│ │ │ ├── ViewPropertyAnimatorICS$1.class
│ │ │ ├── ViewPropertyAnimatorICS.class
│ │ │ ├── ViewPropertyAnimatorPreHC$1.class
│ │ │ ├── ViewPropertyAnimatorPreHC$AnimatorEventListener.class
│ │ │ ├── ViewPropertyAnimatorPreHC$NameValuesHolder.class
│ │ │ ├── ViewPropertyAnimatorPreHC$PropertyBundle.class
│ │ │ └── ViewPropertyAnimatorPreHC.class
│ │ └── oldninedroid_library.jar
│ ├── gen
│ │ └── com
│ │ └── nineoldandroids
│ │ └── BuildConfig.java
│ ├── pom.xml
│ ├── project.properties
│ └── src
│ └── com
│ └── nineoldandroids
│ ├── animation
│ │ ├── AnimatorInflater.java
│ │ ├── Animator.java
│ │ ├── AnimatorListenerAdapter.java
│ │ ├── AnimatorSet.java
│ │ ├── ArgbEvaluator.java
│ │ ├── FloatEvaluator.java
│ │ ├── FloatKeyframeSet.java
│ │ ├── IntEvaluator.java
│ │ ├── IntKeyframeSet.java
│ │ ├── Keyframe.java
│ │ ├── KeyframeSet.java
│ │ ├── ObjectAnimator.java
│ │ ├── PreHoneycombCompat.java
│ │ ├── PropertyValuesHolder.java
│ │ ├── TimeAnimator.java
│ │ ├── TypeEvaluator.java
│ │ └── ValueAnimator.java
│ ├── util
│ │ ├── FloatProperty.java
│ │ ├── IntProperty.java
│ │ ├── NoSuchPropertyException.java
│ │ ├── Property.java
│ │ └── ReflectiveProperty.java
│ └── view
│ ├── animation
│ │ └── AnimatorProxy.java
│ ├── ViewHelper.java
│ ├── ViewPropertyAnimatorHC.java
│ ├── ViewPropertyAnimatorICS.java
│ ├── ViewPropertyAnimator.java
│ └── ViewPropertyAnimatorPreHC.java
├── slidelistview_library
│ ├── AndroidManifest.xml
│ ├── bin
│ │ ├── AndroidManifest.xml
│ │ ├── classes
│ │ │ └── com
│ │ │ ├── example
│ │ │ │ └── swiplistview
│ │ │ │ ├── BuildConfig.class
│ │ │ │ ├── R$attr.class
│ │ │ │ ├── R$id.class
│ │ │ │ ├── R$styleable.class
│ │ │ │ └── R.class
│ │ │ └── roamer
│ │ │ └── slidelistview
│ │ │ ├── SlideBaseAdapter.class
│ │ │ ├── SlideItemListener.class
│ │ │ ├── SlideListView$1.class
│ │ │ ├── SlideListView$2.class
│ │ │ ├── SlideListView$3.class
│ │ │ ├── SlideListView$SlideAction.class
│ │ │ ├── SlideListView$SlideMode.class
│ │ │ ├── SlideListView.class
│ │ │ ├── SlideTouchListener$1.class
│ │ │ ├── SlideTouchListener$SlideItem.class
│ │ │ ├── SlideTouchListener.class
│ │ │ └── wrap
│ │ │ ├── FrontViewWrapLayout.class
│ │ │ └── SlideItemWrapLayout.class
│ │ ├── jarlist.cache
│ │ ├── R.txt
│ │ └── slidelistview_library.jar
│ ├── gen
│ │ └── com
│ │ └── example
│ │ └── swiplistview
│ │ ├── BuildConfig.java
│ │ └── R.java
│ ├── ic_launcher-web.png
│ ├── libs
│ │ └── android-support-v4.jar
│ ├── proguard-project.txt
│ ├── project.properties
│ ├── res
│ │ └── values
│ │ └── slidelistview_attrs.xml
│ └── src
│ └── com
│ └── roamer
│ └── slidelistview
│ ├── SlideBaseAdapter.java
│ ├── SlideItemListener.java
│ ├── SlideListView.java
│ ├── SlideTouchListener.java
│ └── wrap
│ ├── FrontViewWrapLayout.java
│ └── SlideItemWrapLayout.java
└── SlideListViewSample
├── AndroidManifest.xml
├── bin
│ ├── AndroidManifest.xml
│ ├── classes
│ │ └── com
│ │ └── example
│ │ ├── slidelistviewsample
│ │ │ ├── BuildConfig.class
│ │ │ ├── MainActivity$1.class
│ │ │ ├── MainActivity.class
│ │ │ ├── R$attr.class
│ │ │ ├── R$dimen.class
│ │ │ ├── R$drawable.class
│ │ │ ├── R$id.class
│ │ │ ├── R$layout.class
│ │ │ ├── R$menu.class
│ │ │ ├── R$string.class
│ │ │ ├── R$styleable.class
│ │ │ ├── R$style.class
│ │ │ ├── R.class
│ │ │ ├── SlideAdapter$1.class
│ │ │ ├── SlideAdapter$2.class
│ │ │ ├── SlideAdapter$3.class
│ │ │ ├── SlideAdapter$4.class
│ │ │ ├── SlideAdapter$ViewHolder.class
│ │ │ └── SlideAdapter.class
│ │ └── swiplistview
│ │ ├── R$attr.class
│ │ ├── R$id.class
│ │ ├── R$styleable.class
│ │ └── R.class
│ ├── classes.dex
│ ├── dexedLibs
│ │ ├── android-support-v4-d41730f9ea3e98f9c6883a7958099858.jar
│ │ ├── annotations-adbd3fd03089dbfd23cfbb3e22947ad9.jar
│ │ ├── oldninedroid_library-6f721f1745e72da4331a25bcca71ae31.jar
│ │ └── slidelistview_library-1ce9e60c9ca7409ea82aa09baaa25c02.jar
│ ├── jarlist.cache
│ ├── res
│ │ └── crunch
│ │ ├── drawable-hdpi
│ │ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ │ └── ic_launcher.png
│ │ └── drawable-xxhdpi
│ │ └── ic_launcher.png
│ ├── resources.ap_
│ ├── R.txt
│ └── SlideListViewSample.apk
├── gen
│ └── com
│ └── example
│ ├── slidelistviewsample
│ │ ├── BuildConfig.java
│ │ └── R.java
│ └── swiplistview
│ └── R.java
├── ic_launcher-web.png
├── libs
│ └── android-support-v4.jar
├── proguard-project.txt
├── project.properties
├── res
│ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ ├── layout
│ │ ├── activity_main.xml
│ │ ├── row_front_view.xml
│ │ ├── row_left_back_view.xml
│ │ └── row_right_back_view.xml
│ ├── menu
│ │ └── main.xml
│ ├── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
│ ├── values-v11
│ │ └── styles.xml
│ ├── values-v14
│ │ └── styles.xml
│ └── values-w820dp
│ └── dimens.xml
└── src
└── com
└── example
└── slidelistviewsample
├── MainActivity.java
└── SlideAdapter.java
76 directories, 205 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论