commons/views / com.vmadalin.commons.views / ProgressBarDialog

ProgressBarDialog

class ProgressBarDialog : AlertDialog

Custom progress dialog to display as alert during on long process user waiting.

See Also

AlertDialog

Constructors

<init>

Custom progress dialog to display as alert during on long process user waiting.

ProgressBarDialog(context: Context)

Properties

viewBinding

lateinit var viewBinding: <ERROR CLASS>

Functions

dismissWithErrorMessage

Dismiss this dialog, removing it from the screen. This method can be invoked safely from any thread.

fun dismissWithErrorMessage(messageRes: Int): Unit

show

Start the dialog and display it on screen. The window is placed in the application layer and opaque.

fun show(): Unit
fun show(messageRes: Int?): Unit