class Builder
Builder class for creating ProgressView.
<init> |
Builder class for creating ProgressView. Builder(context: Context) |
build |
fun build(): ProgressView |
setAutoAnimate |
fun setAutoAnimate(value: Boolean): Builder |
setColorBackground |
fun setColorBackground(value: Int): Builder |
setDuration |
fun setDuration(value: Long): Builder |
setHeight |
fun setHeight(value: Int): Builder |
setHighlightColor |
fun setHighlightColor(value: Int): Builder |
setHighlighting |
fun setHighlighting(value: Boolean): Builder |
setHighlightThickness |
fun setHighlightThickness(value: Int): Builder |
setInterpolator |
fun setInterpolator(value: Interpolator): Builder |
setLabelColorInner |
fun setLabelColorInner(value: Int): Builder |
setLabelColorOuter |
fun setLabelColorOuter(value: Int): Builder |
setLabelConstraints |
fun setLabelConstraints(value: ProgressLabelConstraints): Builder |
setLabelGravity |
fun setLabelGravity(value: Int): Builder |
setLabelSize |
fun setLabelSize(value: Float): Builder |
setLabelSpace |
fun setLabelSpace(value: Float): Builder |
setLabelText |
fun setLabelText(value: CharSequence): Builder |
setLabelTextResource |
fun setLabelTextResource(value: Int): Builder |
setLabelTypeface |
fun setLabelTypeface(value: Int): Builder fun setLabelTypeface(value: Typeface): Builder |
setMax |
fun setMax(value: Float): Builder |
setMin |
fun setMin(value: Float): Builder |
setOnProgressChangeListener |
fun setOnProgressChangeListener(value: OnProgressChangeListener): Builder fun setOnProgressChangeListener(block: (Float) -> Unit): Builder |
setOnProgressClickListener |
fun setOnProgressClickListener(value: OnProgressClickListener): Builder fun setOnProgressClickListener(block: (Boolean) -> Unit): Builder |
setOrientation |
fun setOrientation(value: ProgressViewOrientation): Builder |
setProgress |
fun setProgress(value: Float): Builder |
setProgressbarAlpha |
fun setProgressbarAlpha(value: Float): Builder |
setProgressbarColor |
fun setProgressbarColor(value: Int): Builder |
setProgressbarColorGradientEnd |
fun setProgressbarColorGradientEnd(value: Int): Builder |
setProgressbarColorGradientStart |
fun setProgressbarColorGradientStart(value: Int): Builder |
setProgressbarRadius |
fun setProgressbarRadius(value: Float): Builder |
setProgressViewAnimation |
fun setProgressViewAnimation(value: ProgressViewAnimation): Builder |
setRadius |
fun setRadius(value: Float): Builder |
setSize |
fun setSize(width: Int, height: Int): Builder |
setTextForm |
fun setTextForm(value: TextForm): Builder |