public static interface

DataAdapter.OnDataChangedListener

com.shinobicontrols.charts.DataAdapter.OnDataChangedListener

Class Overview

Callback interface for listening to changes in the data held by a DataAdapter.

When a DataAdapter is set on a Series, the Series will add its own DataAdapter.OnDataChangedListener to manage the loading/re-loading of data for the ShinobiChart. Therefore it is not normally necessary for client code to implement this interface although in some subclassing situations it can be useful.

Summary

Public Methods
abstract void onDataChanged()
Called in response to the notifyDataChanged() method being called, signifying there has been a change in the data stored in the DataAdapter.

Public Methods

public abstract void onDataChanged ()

Called in response to the notifyDataChanged() method being called, signifying there has been a change in the data stored in the DataAdapter. Exactly when the listener is notified depends on the concrete implementation of the DataAdapter. For example, the SimpleDataAdapter will notify its listeners every time a data point is added or removed.