Interface SpinnerSelectionListener

    • Method Detail

      • selectedIndexChanged

        default void selectedIndexChanged​(Spinner spinner,
                                          int previousSelectedIndex)
        Called when a spinner's selected index has changed.
        Parameters:
        spinner - The source of the event.
        previousSelectedIndex - If the selection changed directly, contains the index that was previously selected. Otherwise, contains the current selection.
      • selectedItemChanged

        default void selectedItemChanged​(Spinner spinner,
                                         java.lang.Object previousSelectedItem)
        Called when a spinners's selected item has changed.
        Parameters:
        spinner - The source of the event.
        previousSelectedItem - The item that was previously selected, or null if the previous selection cannot be determined.