Skip to content

Commit 1209144

Browse files
committed
Update version to 2.1.0
1 parent 0cafae9 commit 1209144

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ You can also find iOS version of this [here](https://github.com/ninjaprox/NVActi
2424
Add dependencies in build.gradle.
2525
```groovy
2626
dependencies {
27-
compile 'com.wang.avi:library:2.0.3'
28-
compile 'com.nineoldandroids:library:2.4.0'
27+
compile 'com.wang.avi:library:2.1.0'
2928
}
3029
```
3130

@@ -125,7 +124,6 @@ As seen above in the **Demo**, the indicators are as follows:
125124
* `com.wang.avi.sample.MyCustomIndicator`
126125

127126
## Thanks
128-
- [nineoldandroids](https://github.com/JakeWharton/NineOldAndroids)
129127
- [NVActivityIndicatorView](https://github.com/ninjaprox/NVActivityIndicatorView)
130128
- [Connor Atherton](https://github.com/ConnorAtherton)
131129

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ android {
88
applicationId "com.wang.avi.sample"
99
minSdkVersion 14
1010
targetSdkVersion 23
11-
versionCode 23
12-
versionName "2.0.3"
11+
versionCode 30
12+
versionName "2.1.0"
1313
}
1414
buildTypes {
1515
release {

library/build.gradle

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
defaultConfig {
88
minSdkVersion 14
99
targetSdkVersion 23
10-
versionCode 23
11-
versionName "2.0.3"
10+
versionCode 30
11+
versionName "2.1.0"
1212
}
1313
buildTypes {
1414
release {
@@ -20,12 +20,11 @@ android {
2020

2121
dependencies {
2222
compile fileTree(dir: 'libs', include: ['*.jar'])
23-
compile 'com.android.support:appcompat-v7:23.2.0'
2423
}
2524

2625
ext {
2726
PUBLISH_GROUP_ID = 'com.wang.avi'
28-
PUBLISH_VERSION = '2.0.3'
27+
PUBLISH_VERSION = '2.1.0'
2928
PUBLISH_DES = 'Nice loading animations for Android'
3029
LIB_NAME = 'AVLoadingIndicatorView'
3130

library/src/main/java/com/wang/avi/AVLoadingIndicatorView.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import android.graphics.drawable.Animatable;
1010
import android.graphics.drawable.Drawable;
1111
import android.os.Build;
12-
import android.support.annotation.NonNull;
1312
import android.text.TextUtils;
1413
import android.util.AttributeSet;
1514
import android.util.Log;
@@ -106,7 +105,7 @@ public Indicator getIndicator() {
106105
return mIndicator;
107106
}
108107

109-
public void setIndicator(@NonNull Indicator d) {
108+
public void setIndicator(Indicator d) {
110109
if (mIndicator != d) {
111110
if (mIndicator != null) {
112111
mIndicator.setCallback(null);
@@ -135,7 +134,7 @@ public void setIndicatorColor(int color){
135134
* 2. Class name with full package,like "com.my.android.indicators.SimpleIndicator".
136135
* @param indicatorName the class must be extend Indicator .
137136
*/
138-
public void setIndicator(@NonNull String indicatorName){
137+
public void setIndicator(String indicatorName){
139138
if (TextUtils.isEmpty(indicatorName)){
140139
return;
141140
}

0 commit comments

Comments
 (0)