File tree Expand file tree Collapse file tree 3 files changed +14
-12
lines changed
src/main/java/com/xdja/nicecircleprogressbar Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ buildscript {
1515allprojects {
1616 repositories {
1717 jcenter()
18+ maven { url ' https://jitpack.io' }
1819 }
20+
1921}
2022
2123task clean (type : Delete ) {
You can’t perform that action at this time.
0 commit comments