Interface DataProviderListener<T>

    • Method Detail

      • onDataChange

        void onDataChange​(DataChangeEvent<T> event)
        Invoked when this listener receives a data change event from a data source to which it has been added.

        This event is fired when something has changed in the underlying data. It doesn't allow to distinguish different kind of events (add/remove/update). It means that the method implementation normally just reloads the whole data to refresh.

        Parameters:
        event - the received event, not null