java.lang.Object
android.content.Context
android.content.ContextWrapper
com.pranavpandey.android.dynamic.toasts.internal.ToastContext

public final class ToastContext extends ContextWrapper
A ContextWrapper to fix bad token exception.
  • Constructor Details

    • ToastContext

      public ToastContext(@NonNull Context base, @NonNull Toast toast)
      Constructor to initialize an object of this class.
      Parameters:
      base - The base context for this wrapper.
      toast - The toast for this wrapper.
  • Method Details