-
Notifications
You must be signed in to change notification settings - Fork 155
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
Application stops when loading a dialog with custom view for the second time #65
Comments
I could control the error using the Builder and reusing the MaterialStyledDialog object instead of building it every time inside the floating action button. |
Hello , i know i'm a year late , but this may help someone :
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Details
2.1
7.1.1
HDM
NOKIA2
Reproduction Steps
1.I add a CustomView that contains 2 ImageButton
2. Then inflate the layout in the activity
3.Then I discard the dialogue that was invoked from a floacting action button
4. I'm invoking the dialogue again
Expected Result
Show the dialog box again
Actual Result
Application crashes with the message:
java.lang.IllegalStateException: The specified child already has a parent.You must call removeView () on the child's parent first.
in the logcatThe text was updated successfully, but these errors were encountered: