Interface SpinnerItemListener

    • Method Detail

      • itemInserted

        default void itemInserted​(Spinner spinner,
                                  int index)
        Called when an item is inserted into a spinner's data.
        Parameters:
        spinner - The source of the event.
        index - Where the item was inserted.
      • itemsRemoved

        default void itemsRemoved​(Spinner spinner,
                                  int index,
                                  int count)
        Called when items are removed from a spinner's data.
        Parameters:
        spinner - The source of this event.
        index - The start of the items that were removed.
        count - The number of items removed from there.
      • itemUpdated

        default void itemUpdated​(Spinner spinner,
                                 int index)
        Called when an item is updated within a spinner's data.
        Parameters:
        spinner - The source of this event.
        index - The location of the item that was updated.
      • itemsCleared

        default void itemsCleared​(Spinner spinner)
        Called when a spinner's data has been cleared.
        Parameters:
        spinner - The source of this event.
      • itemsSorted

        default void itemsSorted​(Spinner spinner)
        Called when a spinner's data is sorted.
        Parameters:
        spinner - The source of this event.