Interface DataCollectionChangeListener<T>

  • Type Parameters:
    T - The type of elements in the data collection.

    public interface DataCollectionChangeListener<T>
    Listener interface to be notified of changes to a data collection.
    • Method Detail

      • onCollectionChanged

        void onCollectionChanged​(java.lang.Object sender,
                                 DataCollectionChangeType changeType,
                                 java.util.List<T> changedItems)
        Called whenever the contents of a data collection has changed.
        Parameters:
        sender - The object whose data collection has changed.
        changeType - Indicates the type of change that occurred on the data collection.
        changedItems - The list of elements that have changed. Note that for a change type of COLLECTION_CLEARED this list will be empty.