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

removeView() error during second run! #7

Open
MohsenShafiee opened this issue Oct 18, 2015 · 2 comments
Open

removeView() error during second run! #7

MohsenShafiee opened this issue Oct 18, 2015 · 2 comments
Labels

Comments

@MohsenShafiee
Copy link

I have a button and these two methods inside its button click:
startLoading();
startPercentMockThread();
this runs the circleLoadingView for the first time but I have this error during second run:
"The specified child already has a parent. You must call removeView() on the child's parent first."
can you help me on how to handle this? this crashes my app!

@jlmd jlmd added the bug label Oct 18, 2015
@Kangouest
Copy link

Hi,
This is a very good job and a beautiful loading bar.
I have the same crash as TheLoyalCruel. I have tried to resetLoading, invalidate circle view and invalidate my whole activity, but I still have the same issue.
Do you know how I can workaround this issue?
Thanks in advance

@bondjpf
Copy link

bondjpf commented Nov 24, 2015

just do like circleLoading.removeAllViews() after you stop loading...

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

No branches or pull requests

4 participants