Open pcfjojo opened 8 years ago
let me check
Thank you so much.. I am waiting.
+1
+1
+1
+1
@booncol I sent you an email.
+1 Though, doesn't happen when pulse_startFromScratch is set to true.
Thanks @fR0DDY. It seems that it only happens if you have the pulse_startFromScratch set t false. Even using the .setCount, only one pulse appears. Setting pulse_startFromScratch to true solved the problem.
I've taken a fix from @JeremiahStevenson fork which seems to fix this issue. I made a few gradle updates and a fix on the javadoc to get it to build publicly on jitpack, but so far so good for me anyway. (i.e: I've got multiple counts/circles working with startFromScratch set to false and working as expected 🙏)
Use this jitpack build of my last commit compile 'com.github.ahaverty:Pulsator4Droid:c31fb788db'
Or follow this link if you're not familiar with jitpack https://jitpack.io/#ahaverty/Pulsator4Droid/c31fb788db
I have implemented your library in my project, but everything works fine. When i restart the view it give only one circle, instead of 4 circle.
private void startPulser(int color){ pulsator.stop(); // i tried without stop(). pulsator.setCount(4); pulsator.setDuration(7000); pulsator.setColor(color); pulsator.start(); }
//