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