android SwipeListView开源项目导入
来源:互联网 发布:郑州360排名优化 编辑:程序博客网 时间:2024/05/24 15:37
SwipeListView是github上的一个开源项目,实现ListView的滑动相关的一些功能
github地址:https://github.com/47deg/android-swipelistview
以下是SwipeListViewExampleActivity 运行截图
有没有发现微信的滑动删除效果跟它很像
SwipeListView导入步骤
准备工作
下载swipelistview的开源项目,下载地址 https://github.com/47deg/android-swipelistview
下载swipelistview的依赖库nineoldandroids-2.4.0.jar,下载地址 https://github.com/JakeWharton/NineOldAndroids/downloads
下载swipelistview的依赖内部库android-support-v4.jar
android-swipelistview 开源项目分两个部分:
1.lib是:swipelistview;
2.例子是:swipelistview-samples
导入swipelistview 项目
1. 引入swipelistview库:导入开源库,用Import选项,然后Android选项下的“Existing Android Code Into Workspace”引入库;
2.引入swipelistview的依赖库nineoldandroids-2.4.0.jar:项目的Properties选项,Java Build Path标签,Libraries标签,Add External JARs按钮导入nineoldandroids-2.4.0.jar包;
3.引入swipelistview的依赖内部库android-support-v4.jar:项目的Android Tools选项,“Add Support Library”来增加android-support-v4库;(注:如果找不到对应的support库,可以通过SDK Manager来进行下载)
4.编译swipelistview库的jar包:项目的Properties选项,Android选项,勾选"Is Library";
导入swipelistview-samples(SwipeListViewExampleActivity)工程
5.引入swipelistview lib工程:项目的Properties选项,Android选项,Library框选择add按钮添加swipelistview 项目工程即可;
6.重新编译swipelistview 和 SwipeListViewExampleActivity 项目。注:分别手动clean swipelistview 和 SwipeListViewExampleActivity 这两个项目,否则运行可能会出现一些莫名其妙的错误。
如果运行出错的话,手动 clean以下这两个工程
- android SwipeListView开源项目导入
- android SwipeListView开源项目导入
- 关于android-swipelistview的开源项目的使用
- android开发之开源项目SwipeListView之使用
- android-swipelistview项目打包测试
- android 滑动删除等操作 SwipeListView github开源项目使用
- android-swipelistview 导入和d使用
- Android 导入开源项目
- Android studio 导入开源项目及导入项目常见问题
- Android SwipeListView用法
- android-swipelistview使用说明
- SwipeListView滑动删除Android
- Eclipse 中导入Android开源项目
- Android SlidingMenu 开源项目导入
- Android SlidingMenu 开源项目导入
- Android studio导入开源项目
- Android -- 开源项目 SlidingMenu 的导入
- Android studio导入开源项目
- c# form与js交互——webBrowser1.Document.InvokeScript()
- 页面浏览量问题
- 我奋斗了18年不是为了和你一起喝咖啡
- 上传APP store时证书出错 Invalid code signing.
- variable `xxx' has initializer but incomplete type
- android SwipeListView开源项目导入
- JAXB--简单应用(一)
- zedboard的demo评测
- 一个H行L列的二维矩阵数组(整形),求每行的元素总和,并输出最大的那一行的总和
- 使用CreateFile()打开COM10及以上串行口
- 面向对象3_关键字【this】【static】【final】
- 安卓坦克大战
- 一个H行L列的二维矩阵数组(整形),求每行元素总和,并将每行总和排序输出
- log4j.properties相信配置,大神的总结永远那么犀利,学习了