Interface FilterModel.VisibleItems.ItemsListener

Enclosing interface:
FilterModel.VisibleItems<T>

public static interface FilterModel.VisibleItems.ItemsListener
Provides a way to respond to changes to the visible items
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when all items may have changed
    void
    deleted(int firstIndex, int lastIndex)
    Called when visible items are deleted
    void
    inserted(int firstIndex, int lastIndex)
    Called when visible items are inserted
    void
    updated(int firstIndex, int lastIndex)
    Called when visible items are updated
  • Method Details

    • inserted

      void inserted(int firstIndex, int lastIndex)
      Called when visible items are inserted
      Parameters:
      firstIndex - the first index
      lastIndex - the last index
    • updated

      void updated(int firstIndex, int lastIndex)
      Called when visible items are updated
      Parameters:
      firstIndex - the first index
      lastIndex - the last index
    • deleted

      void deleted(int firstIndex, int lastIndex)
      Called when visible items are deleted
      Parameters:
      firstIndex - the first index
      lastIndex - the last index
    • changed

      void changed()
      Called when all items may have changed