Skip to content

Commit

Permalink
fit infer
Browse files Browse the repository at this point in the history
  • Loading branch information
flyou committed Feb 16, 2017
1 parent c9fea09 commit 0a617ad
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ dependencies {
})
compile 'com.android.support:appcompat-v7:25.1.0'
testCompile 'junit:junit:4.12'
compile project(path: ':progressbarlibrary')
compile 'com.github.flyou:NiceProgressBar:1.0'
}
22 changes: 11 additions & 11 deletions app/src/main/java/com/xdja/nicecircleprogressbar/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ protected void onCreate(Bundle savedInstanceState) {
//or
progressbar3.setTextMax(100)
.showWithPercent(true)
// .setProgressBarListener(new CircleProgressBar.ProgressBarListener() {
// @Override
// public void onProgressBarComplete() {
// // TODO: what you want
// }
//
// @Override
// public void onProgressBarStart() {
// // TODO: what you want
// }
// })
.setProgressBarListener(new NiceProgressBar.ProgressBarListener() {
@Override
public void onProgressBarComplete() {
// TODO: do what you want
}

@Override
public void onProgressBarStart() {
// TODO: do what you want
}
})
.show();

}
Expand Down
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ buildscript {
allprojects {
repositories {
jcenter()
maven { url 'https://jitpack.io' }
}

}

task clean(type: Delete) {
Expand Down

0 comments on commit 0a617ad

Please sign in to comment.