kooldown icon indicating copy to clipboard operation
kooldown copied to clipboard

How to track progress of Circle?

Open mistrydarshan99 opened this issue 5 years ago • 3 comments

Library looks awesome but before I have used this library I have one question.

Question:

  1. Is there any scope to track progress of circle? example : If animation of circle complete 10% then I will get any int or long value how much circle is cover through animation.

mistrydarshan99 avatar Nov 13 '19 11:11 mistrydarshan99

Thanks :) Do you want to get the progress value from the view at a certain time or via a listener continuously?

faruktoptas avatar Nov 13 '19 20:11 faruktoptas

Yes it would be good if you write some logic in drawCircle() function to emit progress value.

mistrydarshan99 avatar Nov 14 '19 12:11 mistrydarshan99

it should not be triggered each time drawCircle method called. It may cause performance problems. There must be configurable minimum(default value may be 100ms) timeout to trigger this method. If you want to work on this issue PR's welcome :)

faruktoptas avatar Nov 14 '19 12:11 faruktoptas