Skip to content

Commit cb815f4

Browse files
committed
Version 12.3.2
- Updated dependencies. - Added an annotation.
1 parent 1c27b4f commit cb815f4

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
}
88
dependencies {
99
classpath 'com.github.ben-manes:gradle-versions-plugin:0.13.0'
10-
classpath 'com.android.tools.build:gradle:2.2.3'
10+
classpath 'com.android.tools.build:gradle:2.3.0'
1111

1212
// NOTE: Do not place your application dependencies here; they belong
1313
// in the individual module build.gradle files
@@ -20,5 +20,5 @@ allprojects {
2020
maven { url 'https://jitpack.io' }
2121
}
2222

23-
project.ext.supportLibVersion = '25.1.1'
23+
project.ext.supportLibVersion = '25.2.0'
2424
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Fri Sep 16 16:31:13 EDT 2016
1+
#Fri Mar 03 12:00:14 EST 2017
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

lib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apply plugin: 'com.android.library'
22

3-
def libVersion = '12.3.1'
3+
def libVersion = '12.3.2'
44

55
android {
66
compileSdkVersion 25

lib/src/main/java/com/turingtechnologies/materialscrollbar/Indicator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import android.content.Context;
2020
import android.graphics.Typeface;
2121
import android.graphics.drawable.GradientDrawable;
22+
import android.support.annotation.ColorInt;
2223
import android.support.v4.content.ContextCompat;
2324
import android.support.v4.view.ViewCompat;
2425
import android.support.v7.widget.RecyclerView;
@@ -174,7 +175,7 @@ public U setTypeface(Typeface typeface){
174175
* Used by the materialScrollBar to change the text colour for the indicator.
175176
* @param colour The desired text colour.
176177
*/
177-
void setTextColour(int colour){
178+
void setTextColour(@ColorInt int colour){
178179
textView.setTextColor(colour);
179180
}
180181

lib/src/main/java/com/turingtechnologies/materialscrollbar/MaterialScrollBar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ public void setRightToLeft(boolean rtl){
610610

611611
//CHAPTER IV - MISC METHODS
612612

613-
//Fetch accent colour on devices running Lollipop or newer.
613+
//Fetch accent colour.
614614
static int fetchAccentColour(Context context) {
615615
TypedValue typedValue = new TypedValue();
616616

0 commit comments

Comments
 (0)