Beispiel #1
0
 @Override
 public void onErrorResponse(VolleyError error) {
   doingGetPoint = false;
   if (onCompleteGetPointListener != null)
     onCompleteGetPointListener.onCompleteGetPoint(false, 0);
 }
Beispiel #2
0
 @Override
 public void onResponse(ResponseGoldcoin response) {
   doingGetPoint = false;
   if (onCompleteGetPointListener != null)
     onCompleteGetPointListener.onCompleteGetPoint(true, response.getGolecoin());
 }