@Override public void onEndRefresh(IDataAdapter<DATA> adapter, DATA result) { if (onStateChangeListener != null) { onStateChangeListener.onEndRefresh(adapter, result); } else if (onRefreshStateChangeListener != null) { onRefreshStateChangeListener.onEndRefresh(adapter, result); } }
@Override public void onStartRefresh(IDataAdapter<DATA> adapter) { if (onStateChangeListener != null) { onStateChangeListener.onStartRefresh(adapter); } else if (onRefreshStateChangeListener != null) { onRefreshStateChangeListener.onStartRefresh(adapter); } }