Site icon Android Tutorial Online

Progress Dialog Library will help you show customize dialog

Screenshots

Progress-Dialog-Library

Progress Dialog Library will help you show customize dialog.

Setup

Update your settings.gradle file with the following dependency.

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Update your module level build.gradle file with the following dependency.

  dependencies {
	        implementation 'com.github.NabeelKhanNK:Progress-Dialog-Library:1.1'
	}

How to use

val progressBar: ProgressBar = ProgressBar()

// to show progress dialog
progressBar.showDialog(context = this)

// to hide progress dialog
progressBar.hideDialog()

Find this library useful? ❤️

Star it and Follow me for more content like this

GitHub

View Github

Exit mobile version