Skip to content

Loading is Dialog for waiting network requests or time-consuming operation。

License

Notifications You must be signed in to change notification settings

lizihanglove/Loading

Repository files navigation

Loading JitPack

A Dialog of loading which used for waiting network request or other time-consuming operation。

Preview

Usage JitPack

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 GitHub license

About

Loading is Dialog for waiting network requests or time-consuming operation。

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages