allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.rezaabiri:materialprogressbar:1.2'
}
To use this library, do the following: for display :
ProgressMaterial progress = new ProgressMaterial();
progress.show(context, true/false);
for dismiss:
progress.dismiss();