You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 8, 2026. It is now read-only.
When using a DialogFragment (AppCompatDialogFragment) I see this crash when the layout is inflated.
If I get time, I might submit a fix and pull request, but have noted it here until then.
Caused by: java.lang.ClassCastException: android.view.ContextThemeWrapper cannot be cast to android.app.Activity at com.pchmn.materialchips.ChipsInput.init(ChipsInput.java:144) at com.pchmn.materialchips.ChipsInput.<init>(ChipsInput.java:78) at java.lang.reflect.Constructor.newInstance0(Native Method)
When using a DialogFragment (AppCompatDialogFragment) I see this crash when the layout is inflated.
If I get time, I might submit a fix and pull request, but have noted it here until then.
Caused by: java.lang.ClassCastException: android.view.ContextThemeWrapper cannot be cast to android.app.Activityat com.pchmn.materialchips.ChipsInput.init(ChipsInput.java:144)at com.pchmn.materialchips.ChipsInput.<init>(ChipsInput.java:78)at java.lang.reflect.Constructor.newInstance0(Native Method)