-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
Fatal Exception: java.lang.IllegalStateException #149
Comments
Hi, @Canato! |
Thanks for the fats answer. I didn't This is my creation code
In my case I have 3 tooltips in the screen, some time I need to hide all (dismiss) and show again later, anchor again on the same view. |
Making some more search, when we dismiss we remove the parent only on the chain of calls: this could means that we can try to setup the parent again because A small concurrent issue. Would be sensible to create a |
Thanks for your trace! In the So I just removed the unused if (mBackground != null) {
mBackgroundView = createBackgroundView(mContentView);
mBackgroundView.setBackground(mBackground);
} else {
mBackgroundView = mContentView;
} |
Thanks @skydoves putting for test soon, working as expecte will close this |
Look like this is fixed @skydoves found other issue, but my code I believe. Thanks, let you know anything |
@Canato |
@skydoves over the weekend, pop up a similar issue in another place
But instead of Want me to open a new issue? |
@Canato |
A new alpha version |
100% safe @skydoves thanks for the fast responsive on this. muzmatch working like an charm |
@Canato |
Please complete the following information:
1.2.9
Samsung, Xiaomi, HUAWEI, OPPO
OS 8,9,10
The Bug:
I'm using only
showAlignTop
method, but in some cases this crash is popping on my Firebase Crashlytics.The specified child already has a parent. You must call removeView() on the child's parent first.
Possible solution:
Was not able to full reproduce yet, but maybe we can find the right part of the library and to some parent check, like
The text was updated successfully, but these errors were encountered: