-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
48 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
#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) | ||
# 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) | ||
|
||
The **ItemAnimators** library comes with a huge collections of pre-created animators for your `RecyclerView`. It was created so developers can easily animate their `RecyclerView`. | ||
These `Animators` correctly work with all view states and `RecyclerView` states (as the `DefaultItemAnimator` does) | ||
|
||
> **DISCLAIMER**: this library does not animate items on scroll, just when added, removed, moved, or changed | ||
#Preview | ||
# Preview | ||
<img src="DEV/preview/Telecine_2016-01-09-19-01-46.gif" width="32%"> | ||
|
||
#Include in your project | ||
##Using Maven | ||
# Include in your project | ||
## Using Maven | ||
```javascript | ||
compile "com.mikepenz:itemanimators:1.0.0@aar" | ||
compile "com.android.support:recyclerview-v7:${supportLibVersion}" | ||
implementation "com.mikepenz:itemanimators:1.0.1@aar" | ||
implementation "com.android.support:recyclerview-v7:${supportLibVersion}" | ||
``` | ||
|
||
##How to use | ||
## How to use | ||
```java | ||
//just provide the animator to your RecyclerView | ||
mRecyclerView.setItemAnimator(new ScaleUpAnimator()); | ||
|
@@ -27,7 +27,7 @@ mRecyclerView.setItemAnimator(new ScaleUpAnimator()); | |
//https://github.com/mikepenz/FastAdapter | ||
``` | ||
|
||
##Included animators | ||
## Included animators | ||
|
||
* **Simple** | ||
* `AlphaInAnimator` | ||
|
@@ -50,13 +50,13 @@ mRecyclerView.setItemAnimator(new ScaleUpAnimator()); | |
|
||
* more will follow soon... | ||
|
||
#Developed By | ||
# Developed By | ||
|
||
* Mike Penz | ||
* [mikepenz.com](http://mikepenz.com) - <[email protected]> | ||
* [paypal.me/mikepenz](http://paypal.me/mikepenz) | ||
|
||
#License | ||
# License | ||
|
||
Copyright 2016 Mike Penz | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
buildscript { | ||
repositories { | ||
maven { url 'https://maven.google.com' } | ||
google() | ||
jcenter() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:2.3.2' | ||
classpath 'com.android.tools.build:gradle:3.0.0' | ||
classpath 'com.novoda:bintray-release:0.5.0' | ||
} | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
maven { url 'https://maven.google.com' } | ||
google() | ||
jcenter() | ||
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } | ||
} | ||
} | ||
|
||
ext { | ||
compileSdkVersion = 25 | ||
buildToolsVersion = "25.0.3" | ||
supportLibVersion = "25.4.0" | ||
compileSdkVersion = 27 | ||
buildToolsVersion = "27.0.0" | ||
supportLibVersion = "27.0.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Sun Jul 02 14:41:32 CEST 2017 | ||
#Sat Oct 28 17:55:06 CEST 2017 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters