Interface ChooserDialogCallback<T>

All Superinterfaces:
ChooserCallback<T>

public interface ChooserDialogCallback<T> extends ChooserCallback<T>
Author:
Per-Erik
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the choosing gets cancelled by the user without accepting the chosen values.
    void
    done(List<T> chosenValues)
    Called when the dialog is done choosing values.
  • Method Details

    • done

      void done(List<T> chosenValues)
      Called when the dialog is done choosing values. The list will not be empty or null. Note that this method is inherited from ChooserCallback and changes the returning semantics (the list may not be empty, but it can be empty from ChooserCallback).
      Specified by:
      done in interface ChooserCallback<T>
      Parameters:
      chosenValues - The chosen values.
    • cancelled

      void cancelled()
      Called when the choosing gets cancelled by the user without accepting the chosen values. The dialog will be disposed after this invocation.