skydoves / ProgressView

🌊 A polished and flexible ProgressView, fully customizable with animations.
Apache License 2.0
789 stars 57 forks source link

[Feature Req] Animating Progress From Previous Progress #4

Closed tanurwijaya closed 4 years ago

tanurwijaya commented 5 years ago

Hi, I love your library.

Currently, I'm implementing multipage registration with viewpager and using your library to show the current progress.

But, I found if it will more 'nice to see?' if the animation start from previous progress.

fun progressAnimate() { ... }
// instead of reset the value to 0, why not using the old progress value
skydoves commented 4 years ago

@tanurwijaya Hi, sorry for the late reply! Here is a new version 1.0.6, you can use the new attribute progressView_progressFromPrevious. The default value is false. Thank you for your issue :)

tanurwijaya commented 4 years ago

Thanks @skydoves , looks good to me, love your lib.