nhaarman/ListViewAnimations 这个很牛逼啊
来源:互联网 发布:人工智能发展的看法 编辑:程序博客网 时间:2024/06/01 08:38
ListViewAnimations (Play Store Demo)
ListViewAnimations is an Open Source Android library that allows developers to easily create ListViews with animations. Feel free to use it all you want in your Android apps provided that you cite this project and include the license in your app.
Features
ListViewAnimations provides the following features:
- Appearance animations for items in
ListViews
,GridViews
, otherAbsListViews
;- Built in animations include
Alpha
,SwingRightIn
,SwingLeftIn
,SwingBottomIn
,SwingRightIn
andScaleIn
. - Other animations can easily be added
- StickyListHeaders is supported, other implementations can easily be added.
- Built in animations include
- Swipe-to-Dismiss, Swipe-To-Dismiss with contextual undo;
- Drag-and-Drop reordering;
- Animate addition of items;
- Smoothly expand your items to reveal more content;
Setup
The library consists of separate modules:
lib-core
: The core of the library, and contains appearance animations.lib-manipulation
: Contains the item manipulation options, such as Swipe-to-Dismiss, and Drag-and-Drop.lib-core-slh
: An extension oflib-core
to supportStickyListHeaders
.
When using lib-manipulation
or lib-core-slh
, lib-core
is included as well.
Add the following to your build.gradle
:
repositories { mavenCentral()}dependencies { compile 'com.nhaarman.listviewanimations:lib-core:3.1.0@aar' compile 'com.nhaarman.listviewanimations:lib-manipulation:3.1.0@aar' compile 'com.nhaarman.listviewanimations:lib-core-slh:3.1.0@aar'}
Or:
- Download the jar files you need:
lib-core
lib-manipulation
lib-core-slh
- Download the latest NineOldAndroids .jar file
- Add the .jar files to your project's
libs
folder, or add them as external jars to your project's build path.
Or:
Add the following to your pom.xml
:
<dependency> <groupId>com.nhaarman.listviewanimations</groupId> <artifactId>lib-core</artifactId> <version>3.1.0</version></dependency><dependency> <groupId>com.nhaarman.listviewanimations</groupId> <artifactId>lib-manipulation</artifactId> <version>3.1.0</version></dependency><dependency> <groupId>com.nhaarman.listviewanimations</groupId> <artifactId>lib-core-slh</artifactId> <version>3.1.0</version></dependency>
Getting Started
- Wiki: Tutorials and examples
- Docs:
lib-core
- Javadoclib-manipulation
- Javadoclib-core-slh
- Javadoc
Contribute
Please do! I'm happy to review and accept pull requests.
Please read Contributing before you do.
Developed By
- Niek Haarman
Special Thanks
- DevBytes - Drag-and-Drop reordering is done by a rewritten version of their DynamicListView.
- Jake Warthon - To support devices pre-HC (<3.0), a copy of NineOldAndroids is included.
- Contributors
License
0 0
- nhaarman/ListViewAnimations 这个很牛逼啊
- 源码浅析 - ListViewAnimations
- 自定义ListView盘点-ListViewAnimations(18)
- ListViewAnimations使用时报错NoClassDefFoundError: com.nineoldandroids.animation.Animator
- 这个。
- 这个
- 这个~~~
- 这个...
- 开源项目ListViewAnimations的简单使用(实现GoogleCards效果)
- 这个暑假
- 这个星期天
- 这个Blog。
- 这个孩子
- 这个旋律。。
- 这个季节
- 这个怎么办?
- 这个季节
- 这个不错!
- 黑马程序员--网络编程
- 最大公约数问题
- CentOS共享文件夹给Windows端操作步骤
- 第一行代码笔记9(通知的基本用法)
- MySql:多表设计---外键
- nhaarman/ListViewAnimations 这个很牛逼啊
- hdu 1565 方格取数(1) 状态压缩dp
- Android 查看keystore SHA1并使用自定义keystore
- ios 底部弹出框菜单
- Android Studio来了,它能取代Eclipse吗?
- C#程序只允许运行一个实例的解决方案
- android获取友盟渠道名以及获取application中的meta-data
- 如何减小iOS应用程序的大小?
- 关于STM32软件复位代码编写