From ea82bfe198a3017a7611f4492809093597aa18d6 Mon Sep 17 00:00:00 2001 From: varunest Date: Tue, 25 Sep 2018 13:19:26 +0530 Subject: [PATCH] ChangeLog: 1. Updated ReadME 2. Release 1.0.6 --- README.md | 7 +++++-- app/build.gradle | 6 ++---- .../main/java/com/varunest/sparkbutton/SparkButton.java | 1 - 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 292e3e7..115c539 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ and then add dependency ```groovy dependencies { - compile 'com.github.varunest:sparkbutton:1.0.5' + compile 'com.github.varunest:sparkbutton:1.0.6' } ``` @@ -170,7 +170,10 @@ sparkButton.playAnimation(); SparkButton was inspired by : [https://github.com/frogermcs/LikeAnimation](https://github.com/frogermcs/LikeAnimation) ## Contribution -Any contributions, large or small,features, bug fixes are welcomed and appreciated. Use pull requests, they will be thoroughly reviewed and discussed. +Any contributions, large or small, features, bug fixes are welcomed and appreciated. Use pull requests, they will be thoroughly reviewed and discussed. + +## Link Backs +If you are using this library in one of your projects and want it to be mentioned here in this ReadME, drop me a mail with project's url at mailvarunest@gmail.com. ## License Library falls under [Apache 2.0] (LICENSE.md) diff --git a/app/build.gradle b/app/build.gradle index 8133094..b246ef5 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -26,11 +26,9 @@ android { dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') compile 'com.android.support:design:23.3.0' - compile 'com.android.support:appcompat-v7:23.4.0' + compile 'com.android.support:appcompat-v7:23.3.0' compile 'com.android.support:cardview-v7:23.3.0' compile project(':sparkbutton') androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2' -} - - +} \ No newline at end of file diff --git a/sparkbutton/src/main/java/com/varunest/sparkbutton/SparkButton.java b/sparkbutton/src/main/java/com/varunest/sparkbutton/SparkButton.java index 68057f7..a657f44 100644 --- a/sparkbutton/src/main/java/com/varunest/sparkbutton/SparkButton.java +++ b/sparkbutton/src/main/java/com/varunest/sparkbutton/SparkButton.java @@ -84,7 +84,6 @@ public SparkButton(Context context, AttributeSet attrs, int defStyleAttr, int de public void setColors(int startColor, int endColor) { this.secondaryColor = startColor; this.primaryColor = endColor; - updateView(); }