@Override
 public void onTaskCompleted(String response, int serviceCode) {
   AndyUtils.removeCustomProgressDialog();
   listCard.clear();
   AppLog.Log("PaymentAdapter", "CardSelection reponse : " + response);
   new ParseContent((Activity) context).parseCards(response, listCard);
   notifyDataSetChanged();
 }
  private void setDefaultCard(int cardId) {
    AndyUtils.showCustomProgressDialog(
        context, context.getString(R.string.text_changing_default_card), true, null);
    HashMap<String, String> map = new HashMap<String, String>();
    map.put(Const.URL, Const.ServiceType.DEFAULT_CARD);
    map.put(Const.Params.ID, String.valueOf(pHelper.getUserId()));
    map.put(Const.Params.TOKEN, String.valueOf(pHelper.getSessionToken()));
    map.put(Const.Params.DEFAULT_CARD_ID, String.valueOf(cardId));

    // new HttpRequester((Activity) context, map,
    // Const.ServiceCode.DEFAULT_CARD, this);
    requestQueue.add(
        new VolleyHttpRequest(Method.POST, map, Const.ServiceCode.DEFAULT_CARD, this, this));
  }