예제 #1
0
 /*
  * (non-Javadoc)
  * @see com.dfc.moneymartus.business.DataObject#setJSONValues(java.lang.String)
  */
 @Override
 public void setJSONValues(String values) {
   Gson gson = new Gson();
   CCServicesDataObject custService = gson.fromJson(values, CCServicesDataObject.class);
   Constants.setCCServiceObj(custService);
   mViewCallback.onCCServiceSuccess(custService);
 }
예제 #2
0
 @Override
 public void onResponseFailure(VolleyError error) {
   mViewCallback.onCCServiceFailure(error, getEventType());
 }