Closed sudendrakl closed 4 years ago
Thanks for the submission @sudendrakl. I'd prefer a more targeted solution so that other unrelated errors aren't swallowed up -- do you know which line of code was causing the IllegalArgumentException for you? The stack trace shows displaySnackbar(SnackbarModule.java:93)
but I'm not sure which version you're on.
@cooperka missed your reply
Anyway this line ArrayList<View> modals = recursiveLoopChildren(view, new ArrayList<View>());
modals can be in busy state doing some drawing or some stuff and not be available for snackbar to use, so this IllegalArgument happens
I've made the solution here more targetted; it would still be nice to track down the root cause but at least this situation won't crash anymore.
Takes care of this crash
Resolves #97