@Override
  public void onClick(View v) {
    super.onClick(v);
    // TODO Auto-generated method stub
    switch (v.getId()) {
      case R.id.btn_card_pay_now:
        recharge();
        break;

      default:
        break;
    }
  }
示例#2
0
  @Override
  public void onClick(View v) {
    super.onClick(v);
    // TODO Auto-generated method stub
    switch (v.getId()) {
      case R.id.rl_sex_man:
        clear();
        iv_sex_man.setImageResource(R.mipmap.sex_sure);
        type = "0";
        sexRequest(type);
        break;
      case R.id.rl_sex_woman:
        clear();
        iv_sex_woman.setImageResource(R.mipmap.sex_sure);
        type = "1";
        sexRequest(type);
        break;

      default:
        break;
    }
  }
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.ac_pay_card);
   initView();
 }