From 8e25c8e3b568bb0138573776063bcbb10e4746cf Mon Sep 17 00:00:00 2001 From: Aidan Follestad Date: Sat, 5 Nov 2016 23:34:19 -0500 Subject: [PATCH] 0.4.0 --- .travis.yml | 4 ++-- README.md | 2 +- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- library/build.gradle | 8 ++++---- sample/build.gradle | 8 ++++---- .../dragselectrecyclerviewsample/MainActivity.java | 4 ++-- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 975db19..566f551 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,8 +4,8 @@ android: components: - tools - platform-tools - - build-tools-24.0.0 - - android-24 + - build-tools-24.0.3 + - android-25 - extra-android-support - extra-android-m2repository - extra-google-m2repository diff --git a/README.md b/README.md index 88067f1..0546670 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Add the following to your module's `build.gradle` file: ```Gradle dependencies { // ... other dependencies - compile 'com.afollestad:drag-select-recyclerview:0.3.6' + compile 'com.afollestad:drag-select-recyclerview:0.4.0' } ``` diff --git a/build.gradle b/build.gradle index e9e190f..8c81f3b 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ buildscript { maven { url "https://jitpack.io" } } dependencies { - classpath 'com.android.tools.build:gradle:2.1.2' + classpath 'com.android.tools.build:gradle:2.2.2' } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index afebdae..34fce38 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.11-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-3.1-bin.zip \ No newline at end of file diff --git a/library/build.gradle b/library/build.gradle index 6939fe2..f8dfa00 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -3,10 +3,10 @@ apply plugin: 'com.android.library' ext { PUBLISH_GROUP_ID = 'com.afollestad' PUBLISH_ARTIFACT_ID = 'drag-select-recyclerview' - PUBLISH_VERSION = '0.3.6' - TARGET_SDK = 24 - BUILD_TOOLS = "24.0.0" - GOOGLE_LIBS = "24.0.0" + PUBLISH_VERSION = '0.4.0' + TARGET_SDK = 25 + BUILD_TOOLS = "24.0.3" + GOOGLE_LIBS = "25.0.0" } android { diff --git a/sample/build.gradle b/sample/build.gradle index cf04075..90aa5d9 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -1,10 +1,10 @@ apply plugin: 'com.android.application' ext { - PUBLISH_VERSION = '0.3.6' - TARGET_SDK = 24 - BUILD_TOOLS = "24.0.0" - GOOGLE_LIBS = "24.0.0" + PUBLISH_VERSION = '0.4.0' + TARGET_SDK = 25 + BUILD_TOOLS = "24.0.3" + GOOGLE_LIBS = "25.0.0" } android { diff --git a/sample/src/main/java/com/afollestad/dragselectrecyclerviewsample/MainActivity.java b/sample/src/main/java/com/afollestad/dragselectrecyclerviewsample/MainActivity.java index 271d452..04793c6 100644 --- a/sample/src/main/java/com/afollestad/dragselectrecyclerviewsample/MainActivity.java +++ b/sample/src/main/java/com/afollestad/dragselectrecyclerviewsample/MainActivity.java @@ -45,8 +45,8 @@ protected void onCreate(Bundle savedInstanceState) { } @Override - public void onSaveInstanceState(Bundle outState, PersistableBundle outPersistentState) { - super.onSaveInstanceState(outState, outPersistentState); + protected void onSaveInstanceState(Bundle outState) { + super.onSaveInstanceState(outState); // Save selected indices mAdapter.saveInstanceState(outState); if (mCab != null) mCab.saveState(outState);