Skip to content

Commit 0a617ad

Browse files
committed
fit infer
1 parent c9fea09 commit 0a617ad

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ dependencies {
2626
})
2727
compile 'com.android.support:appcompat-v7:25.1.0'
2828
testCompile 'junit:junit:4.12'
29-
compile project(path: ':progressbarlibrary')
29+
compile 'com.github.flyou:NiceProgressBar:1.0'
3030
}

app/src/main/java/com/xdja/nicecircleprogressbar/MainActivity.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ protected void onCreate(Bundle savedInstanceState) {
3535
//or
3636
progressbar3.setTextMax(100)
3737
.showWithPercent(true)
38-
// .setProgressBarListener(new CircleProgressBar.ProgressBarListener() {
39-
// @Override
40-
// public void onProgressBarComplete() {
41-
// // TODO: what you want
42-
// }
43-
//
44-
// @Override
45-
// public void onProgressBarStart() {
46-
// // TODO: what you want
47-
// }
48-
// })
38+
.setProgressBarListener(new NiceProgressBar.ProgressBarListener() {
39+
@Override
40+
public void onProgressBarComplete() {
41+
// TODO: do what you want
42+
}
43+
44+
@Override
45+
public void onProgressBarStart() {
46+
// TODO: do what you want
47+
}
48+
})
4949
.show();
5050

5151
}

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ buildscript {
1515
allprojects {
1616
repositories {
1717
jcenter()
18+
maven { url 'https://jitpack.io' }
1819
}
20+
1921
}
2022

2123
task clean(type: Delete) {

0 commit comments

Comments
 (0)