Loading A Dialog of loading which used for waiting network request or other time-consuming operation。 Preview Usage Step 1. Add it in your root build.gradle at the end of repositories: allprojects { repositories { ... maven { url 'https://jitpack.io' } } } Step 2. Add the dependency dependencies { implementation 'com.github.lizihanglove:Loading:1.0.0' } Step 3. Build a dialog a.Java Loading loading = new Loading.Builder(MainActivity.this) .setCancelable(false) .build(); loading.show(); loading.dismiss(); b.Kotlin var loading:Loading = Loading.Builder(activity).setCancelable(true).build() loading.show() loading.dismiss() license