Here are the examples of the java api libs.CircularProgressButton.setProgress() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
19
Source : ArtistsFragment.java
with Apache License 2.0
from dmllr
with Apache License 2.0
from dmllr
public void update(boolean refresh) {
if (progress != null && progress.getVisibility() == View.GONE) {
progress.setVisibility(View.VISIBLE);
progress.setProgress(1);
}
TaskGetArtists taskGetArtists = new TaskGetArtists(activity, refresh, this, this);
taskGetArtists.execute();
}
19
Source : AlbumsFragment.java
with Apache License 2.0
from dmllr
with Apache License 2.0
from dmllr
public void update(boolean refresh) {
if (progress != null && progress.getVisibility() == View.GONE) {
progress.setVisibility(View.VISIBLE);
progress.setProgress(1);
}
TaskGetAlbums taskGetAlbums = new TaskGetAlbums(activity, refresh, this, this);
taskGetAlbums.execute();
}