コード例 #1
0
 @Override
 public void onSuccess(int i, Header[] header, byte[] responseBytes) {
   BaseRecycleViewFragment instance = mInstance.get();
   if (instance.isAdded()) {
     instance.executeParseTask(responseBytes, false);
   }
 }
コード例 #2
0
 @Override
 public void onFailure(int i, Header[] header, byte[] responseBytes, Throwable throwable) {
   BaseRecycleViewFragment instance = mInstance.get();
   if (instance.isAdded()) {
     instance.executeOnLoadDataError(null);
     instance.executeOnLoadFinish();
   }
 }