Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On restart the animation only show single Circle #4

Open
pcfjojo opened this issue Sep 12, 2016 · 10 comments
Open

On restart the animation only show single Circle #4

pcfjojo opened this issue Sep 12, 2016 · 10 comments
Assignees

Comments

@pcfjojo
Copy link

pcfjojo commented Sep 12, 2016

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(); }

//

@booncol booncol self-assigned this Sep 12, 2016
@booncol
Copy link
Owner

booncol commented Sep 12, 2016

let me check

@pcfjojo
Copy link
Author

pcfjojo commented Sep 15, 2016

Thank you so much.. I am waiting.

@luanbarbosa
Copy link

+1

3 similar comments
@ghost
Copy link

ghost commented Sep 30, 2016

+1

@ivandiazmolina
Copy link

+1

@ivamacio
Copy link

+1

@ivamacio
Copy link

@booncol I sent you an email.

@fR0DDY
Copy link

fR0DDY commented Nov 12, 2016

+1 Though, doesn't happen when pulse_startFromScratch is set to true.

@diogopereira
Copy link

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.

ahaverty added a commit to ahaverty/Pulsator4Droid that referenced this issue Jun 4, 2017
Pull fixes from Jeremiah's fork for fixing the restart animation issues
Fix issue booncol#4
Update gradle
Remove javadoc preventing jitpack from finishing builds
@ahaverty
Copy link

ahaverty commented Jun 4, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants