progressDialog

fun progressDialog(title: String? = null, graphic: Node? = null, worker: Worker<*>?, dialogAction: ProgressDialog.() -> Unit? = null): Optional<Void>

Build a progress dialog with Kotlin DSL.

Return

nothing.

Parameters

title

title of the dialog.

graphic

node to be displayed in header.

worker

progress worker.

dialogAction

custom dialog action.


inline fun progressDialog(worker: Worker<*>?, noinline dialogAction: ProgressDialog.() -> Unit? = null): Optional<Void>

Build a progress dialog with Kotlin DSL.

Return

nothing.

Parameters

worker

progress worker.

dialogAction

custom dialog action.