@Override
 protected void onResume() {
   super.onResume();
   JSONArray cardList = getSavedCardList();
   if (cardList == null || application.isBankListRefresh()) {
     getCardList();
   }
 }
  @Override
  protected void onCreate() {
    super.onCreate();
    mView = LayoutInflater.from(getRootController()).inflate(R.layout.card_list, null, false);
    addView(mView, null);
    bankCardInfos = new ArrayList<BankCardInfo>();
    storageStateInfo = StorageStateInfo.getInstance();
    cacheManager = CacheManager.getInstance(getRootController());
    application = (AlipayApplication) getRootController().getApplicationContext();

    loadAllVariables();
    loadCacheCardList();
  }
 @Override
 protected void onPostExecute(String bizType, Object result) {
   if (bizType.equalsIgnoreCase(GetCardList.BIZ_TAG)) {
     JSONObject response = JsonConvert.convertString2Json((String) result);
     if (!CommonRespHandler.processSpecStatu(getRootController(), response)) {
       return;
     }
     if (CommonRespHandler.filterBizResponse(getRootController(), response)) {
       application.setBankListRefresh(false);
       processGetListCardResponse(response);
     }
   }
   super.onPostExecute(bizType, result);
 }