Interface Toast.OnButtonClicked

Enclosing class:
Toast
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Toast.OnButtonClicked
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Emitted after the button has been clicked.
  • Method Details

    • onButtonClicked

      void onButtonClicked()
      Emitted after the button has been clicked.

      It can be used as an alternative to setting an action.