Example #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);
 }
Example #2
0
 @Override
 public void onResponseFailure(VolleyError error) {
   mViewCallback.onCCServiceFailure(error, getEventType());
 }