Package icyllis.modernui.widget

# Class ToastManager

java.lang.Object
icyllis.modernui.widget.ToastManager

@Internal public final class ToastManager extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ToastManager(Activity activity)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `cancelToast(Toast token)`
  `void`
  `enqueueToast(Toast token, CharSequence text, int duration)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ToastManager

    public ToastManager(Activity activity)

- ## Method Details

  - ### enqueueToast

    public void enqueueToast(@NonNull Toast token, @NonNull CharSequence text, int duration)

  - ### cancelToast

    public void cancelToast(@NonNull Toast token)