Package icyllis.modernui.util

# Interface DataSetObserver

public interface DataSetObserver
Receives callbacks when a data set has been changed, or made invalid. The typical data sets that are observed are `Adapters`.
`DataSetObserver` must be implemented by objects which are added to a `DataSetObservable`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `default void`
  `onChanged()`
  This method is called when the entire data set has changed.
  `default void`
  `onInvalidated()`
  This method is called when the entire data becomes invalid.

- ## Method Details

  - ### onChanged

    default void onChanged()
    This method is called when the entire data set has changed.

  - ### onInvalidated

    default void onInvalidated()
    This method is called when the entire data becomes invalid.