uknownothingsnow / CircleProgress

CircleProgress, DonutProgress, ArcProgress
3.81k stars 921 forks source link

how to update progress bar value programmatically #89

Open ashuanbhore opened 7 years ago

borconi commented 7 years ago

Quite simple.

arcProgress = (ArcProgress) findViewById(R.id.arch1);
arcProgress.setProgress(80);
magiclonw commented 6 years ago

val anim = ObjectAnimator.ofInt(arc_progress, "progress", 0, 80) anim.interpolator = DecelerateInterpolator() anim.duration = 500 anim.start()