-
Notifications
You must be signed in to change notification settings - Fork 82
Description
Good day!
Version: 3.3.2
Exception: System.ArgumentException: 'The key already existed in the dictionary.' from SnackbarNotification.
Stack trace:
IDictionary<TKey,TValue>.Add (TKey key, TValue value) SnackbarNotification.ToastClosed (System.String id, Plugin.Toasts.NotificationResult result) SnackbarNotification.<Notify>b__5_2 (System.String toastId, Plugin.Toasts.NotificationResult result) ToastCallback.OnDismissed (Android.Support.Design.Widget.Snackbar snackbar, System.Int32 evt) Snackbar+Callback.n_OnDismissed_Landroid_support_design_widget_Snackbar_I (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_transientBottomBar, System.Int32 e)
We call a Notify method from ToastNotification class in several threads. I think that we catch a situation when we have the same id on line
| var id = _count.ToString(); |