Bumped version to 2.2.0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7c8dea8..3039542 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,11 @@
+# 2.2.0
+### Features and Improvements
+* Added `play(startFrame, endFrame)` and `play(startProgress, endProgress)`
+* Added the ability to set a minimum and maximum frame/progress for a given animation
+* Made WeakRef the default cache strategy
+### Bugs Fixed
+* Cancel loading animations when non-Lottie animations are set
+
# 2.1.2
### Bugs Fixed
* Reduced memory footprint.
diff --git a/LottieSample/build.gradle b/LottieSample/build.gradle
index cccd5ac..937793b 100644
--- a/LottieSample/build.gradle
+++ b/LottieSample/build.gradle
@@ -10,8 +10,8 @@
applicationId "com.airbnb.lottie"
minSdkVersion 16
targetSdkVersion 25
- versionCode 16
- versionName "2.1.2"
+ versionCode 17
+ versionName "2.2.0"
testInstrumentationRunner "com.airbnb.lottie.TestRunner"
vectorDrawables.useSupportLibrary = true
}
diff --git a/LottieSample/src/main/res/layout/fragment_animation.xml b/LottieSample/src/main/res/layout/fragment_animation.xml
index d3c5049..40885bf 100644
--- a/LottieSample/src/main/res/layout/fragment_animation.xml
+++ b/LottieSample/src/main/res/layout/fragment_animation.xml
@@ -299,7 +299,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="8dp"
- android:text="2.1.2"
+ android:text="2.2.0"
android:textColor="@android:color/black"
android:textSize="8sp"/>
diff --git a/README.md b/README.md
index 669a77d..9cc6563 100644
--- a/README.md
+++ b/README.md
@@ -35,6 +35,6 @@
```groovy
dependencies {
- compile 'com.airbnb.android:lottie:2.1.2'
+ compile 'com.airbnb.android:lottie:2.2.0'
}
```
diff --git a/gradle.properties b/gradle.properties
index 9d2757a..58e3aec 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -17,7 +17,7 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
-VERSION_NAME=2.1.2
+VERSION_NAME=2.2.0
GROUP=com.airbnb.android
POM_DESCRIPTION=Lottie is an animation library that renders Adobe After Effects animations natively in realtime.