Class ListViewItemListener.Adapter

  • All Implemented Interfaces:
    ListViewItemListener
    Enclosing interface:
    ListViewItemListener

    @Deprecated
    public static class ListViewItemListener.Adapter
    extends java.lang.Object
    implements ListViewItemListener
    Deprecated.
    Since 2.1 and Java 8 the interface itself has default implementations.
    List view item listener adapter.
    • Constructor Detail

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • itemInserted

        public void itemInserted​(ListView listView,
                                 int index)
        Deprecated.
        Description copied from interface: ListViewItemListener
        Called when an item has been inserted into the list view.
        Specified by:
        itemInserted in interface ListViewItemListener
        Parameters:
        listView - The source of the event.
        index - The index of the item that was inserted.
      • itemsRemoved

        public void itemsRemoved​(ListView listView,
                                 int index,
                                 int count)
        Deprecated.
        Description copied from interface: ListViewItemListener
        Called when items have been removed from the list view.
        Specified by:
        itemsRemoved in interface ListViewItemListener
        Parameters:
        listView - The source of the event.
        index - The first index affected by the event.
        count - The number of items that were removed, or -1 if all items were removed.
      • itemUpdated

        public void itemUpdated​(ListView listView,
                                int index)
        Deprecated.
        Description copied from interface: ListViewItemListener
        Called when an item in the list view has been updated.
        Specified by:
        itemUpdated in interface ListViewItemListener
        Parameters:
        listView - The source of the event.
        index - The first index affected by the event.
      • itemsCleared

        public void itemsCleared​(ListView listView)
        Deprecated.
        Description copied from interface: ListViewItemListener
        Called when the items in a list view have been cleared.
        Specified by:
        itemsCleared in interface ListViewItemListener
        Parameters:
        listView - The source of the event.
      • itemsSorted

        public void itemsSorted​(ListView listView)
        Deprecated.
        Description copied from interface: ListViewItemListener
        Called when the items in a list view have been sorted.
        Specified by:
        itemsSorted in interface ListViewItemListener
        Parameters:
        listView - The source of the event.