Skip to content

Commit cba0a7d

Browse files
author
TutorialsAndroid
committed
UPDATED GRADLE VERSION
1 parent a243a85 commit cba0a7d

File tree

6 files changed

+11
-27
lines changed

6 files changed

+11
-27
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ buildscript {
44
jcenter()
55
}
66
dependencies {
7-
classpath 'com.android.tools.build:gradle:3.6.3'
7+
classpath 'com.android.tools.build:gradle:4.0.1'
88
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
99
}
1010
}
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Sat Jan 20 01:13:22 IRST 2018
1+
#Tue Aug 04 19:36:08 IST 2020
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-5.6.4-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip

library/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ android {
99
defaultConfig {
1010
minSdkVersion 15
1111
targetSdkVersion 29
12-
versionCode 7
13-
versionName "5.0.19"
12+
versionCode 8
13+
versionName "6.0.19"
1414
}
1515
buildTypes {
1616
release {

library/src/main/AndroidManifest.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
<manifest package="com.developer.progressx">
2-
32
<application />
4-
</manifest>
3+
</manifest>

library/src/main/java/com/developer/progressx/ProgressWheel.java

+3-18
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,10 @@
1717
import android.util.TypedValue;
1818
import android.view.View;
1919

20-
/**
21-
* @author tkdco , TutorialsAndroid
22-
*/
2320
public class ProgressWheel extends View {
21+
2422
private final int barLength = 16;
25-
/**
26-
* *********
27-
* DEFAULTS *
28-
* **********
29-
*/
23+
3024
//Sizes (with defaults in DP)
3125
private int circleRadius = 28;
3226
private int barWidth = 4;
@@ -37,6 +31,7 @@ public class ProgressWheel extends View {
3731
private float barExtraLength = 0;
3832
private boolean barGrowingFromFront = true;
3933
private long pausedTimeWithoutGrowing = 0;
34+
4035
//Colors (with defaults)
4136
private int barColor = 0xAA000000;
4237
private int rimColor = 0x00FFFFFF;
@@ -65,9 +60,6 @@ public class ProgressWheel extends View {
6560

6661
private boolean shouldAnimate;
6762

68-
/**
69-
* The constructor for the ProgressWheel
70-
*/
7163
public ProgressWheel(Context context, AttributeSet attrs) {
7264
super(context, attrs);
7365

@@ -76,9 +68,6 @@ public ProgressWheel(Context context, AttributeSet attrs) {
7668
setAnimationEnabled();
7769
}
7870

79-
/**
80-
* The constructor for the ProgressWheel
81-
*/
8271
public ProgressWheel(Context context) {
8372
super(context);
8473
setAnimationEnabled();
@@ -99,10 +88,6 @@ public ProgressWheel(Context context) {
9988
shouldAnimate = animationValue != 0;
10089
}
10190

102-
//----------------------------------
103-
//Setting up stuff
104-
//----------------------------------
105-
10691
@Override protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
10792
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
10893

sample/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
applicationId "com.developer.progressx.custom"
88
minSdkVersion 15
99
targetSdkVersion 29
10-
versionCode 7
11-
versionName "5.0.19"
10+
versionCode 8
11+
versionName "6.0.19"
1212
}
1313
buildTypes {
1414
release {

0 commit comments

Comments
 (0)