Skip to content

Commit b0d9cd2

Browse files
committed
Merge branch 'release/v0.1.0-SNAPSHOT'
2 parents 5f2ba40 + 89bbdef commit b0d9cd2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+3385
-2
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,7 @@ proguard/
2525

2626
# Log Files
2727
*.log
28+
29+
#IntelliJ files
30+
*.iml
31+
.idea/
1.7 KB
Loading
1.25 KB
Loading
2.25 KB
Loading
3.49 KB
Loading
5.05 KB
Loading

DEV/ic_launcher/web_hi_res_512.png

18.4 KB
Loading

DEV/original/DefaultItemAnimator.java

Lines changed: 645 additions & 0 deletions
Large diffs are not rendered by default.

LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,3 +199,4 @@
199199
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200200
See the License for the specific language governing permissions and
201201
limitations under the License.
202+

README.md

Lines changed: 56 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,56 @@
1-
# ItemAnimators
2-
ItemAnimators: Supercharged Animators for your RecyclerView
1+
#ItemAnimators [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.mikepenz/itemanimators/badge.svg?style=flat)](https://maven-badges.herokuapp.com/maven-central/com.mikepenz/itemanimators) [![Join the chat at https://gitter.im/mikepenz/itemanimators](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mikepenz/itemanimators?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
2+
3+
The **ItemAnimators** library comes with a huge collections of pre-created Animators for your RecyclerView.
4+
It was created so developers can easly animate their RecyclerView. It also takes care about correctly handling all view states so you don't have to.
5+
6+
> **DISCLAIMER**: this library does not animate items on scroll, just when added, removed, moved, or changed
7+
8+
#Preview
9+
##Screenshots
10+
11+
#Include in your project
12+
##Using Maven
13+
```javascript
14+
compile('com.mikepenz:itemanimators:0.1.0-SNAPSHOT@aar') {
15+
transitive = true
16+
}
17+
18+
//only on the SNAPSHOT repo right now:
19+
repositories {
20+
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
21+
}
22+
```
23+
24+
##How to use
25+
```java
26+
//just provide the animator to your RecyclerView
27+
mRecyclerView.setItemAnimator(new ScaleUpAnimator());
28+
29+
//now it will automatically take care of all animations when you add, remove, chanage, move items
30+
//It is very important that you use the correct notify methods if items were changed, otherwise the adapter can't animate the items
31+
//Read more: http://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter.html#notifyDataSetChanged()
32+
//If you want those things out of the box have a look at the **FastAdapter** it handles everything correctly for you
33+
//https://github.com/mikepenz/FastAdapter
34+
```
35+
36+
#Developed By
37+
38+
* Mike Penz
39+
* [mikepenz.com](http://mikepenz.com) - <mikepenz@gmail.com>
40+
* [paypal.me/mikepenz](http://paypal.me/mikepenz)
41+
42+
#License
43+
44+
Copyright 2016 Mike Penz
45+
46+
Licensed under the Apache License, Version 2.0 (the "License");
47+
you may not use this file except in compliance with the License.
48+
You may obtain a copy of the License at
49+
50+
http://www.apache.org/licenses/LICENSE-2.0
51+
52+
Unless required by applicable law or agreed to in writing, software
53+
distributed under the License is distributed on an "AS IS" BASIS,
54+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
55+
See the License for the specific language governing permissions and
56+
limitations under the License.

0 commit comments

Comments
 (0)