Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

ProgressDialog

Yanndroid edited this page Jan 27, 2022 · 2 revisions

de.dlyt.yanndroid.oneui.dialog.ProgressDialog

Samsung's Alert Dialog with Progress.

Usage is the same as AlertDialog but with additional methods.

Methods

Get/set the Progress drawables.

publicvoidsetProgressDrawable(Drawabled)
publicvoidsetIndeterminateDrawable(Drawabled)

Get/set Progress indeterminate status.

publicbooleanisIndeterminate()
publicvoidsetIndeterminate(booleanindeterminate)

Get/set Progress Style. Value can either be STYLE_SPINNER, STYLE_HORIZONTAL or STYLE_CIRCLE_ONLY.

publicvoidsetProgressStyle(intstyle)

Get/set ProgressBar progress (in case you're using STYLE_HORIZONTAL).

publicintgetProgress()
publicvoidsetProgress(intvalue)
publicintgetSecondaryProgress()
publicvoidsetSecondaryProgress(intsecondaryProgress)
publicintgetMax()
publicvoidsetMax(intmax)
publicvoidincrementProgressBy(intdiff)
publicvoidincrementSecondaryProgressBy(intdiff)
publicvoidsetProgressNumberFormat(Stringformat)
publicvoidsetProgressPercentFormat(NumberFormatformat)

Clone this wiki locally