@Override protected void onDestroy() { // TODO Auto-generated method stub super.onDestroy(); if (addview != null) { addview.clearInfo(); addview.updateTextNum(); } }
@Override public void errorCode_0000() { // TODO Auto-generated method stub showfenxdialog(); if (addview != null) { addview.clearInfo(); addview.updateTextNum(); } }
/** 将选取信息添加到号码篮里 */ private void addToCodes() { if (getZhuShu() > MAX_ZHU) { dialogExcessive(); } else if (addView.getSize() >= ALL_ZHU) { Toast.makeText( ZixuanActivity.this, ZixuanActivity.this.getString(R.string.buy_add_view_zhu_alert), Toast.LENGTH_SHORT) .show(); } else { getCodeInfo(addView); addView.updateTextNum(); again(); } }
private void clearAddView() { addView.clearInfo(); addView.updateTextNum(); }