Пример #1
0
 @Override
 protected void onDestroy() {
   // TODO Auto-generated method stub
   super.onDestroy();
   if (addview != null) {
     addview.clearInfo();
     addview.updateTextNum();
   }
 }
Пример #2
0
 @Override
 public void errorCode_0000() {
   // TODO Auto-generated method stub
   showfenxdialog();
   if (addview != null) {
     addview.clearInfo();
     addview.updateTextNum();
   }
 }
Пример #3
0
 /** 将选取信息添加到号码篮里 */
 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();
   }
 }
Пример #4
0
 private void clearAddView() {
   addView.clearInfo();
   addView.updateTextNum();
 }