@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.me_password); back = (Button) findViewById(R.id.back); back.setBackgroundResource(R.drawable.header_back); back.setOnClickListener( new View.OnClickListener() { @Override public void onClick(View arg0) { finish(); } }); Intent intent = getIntent(); mTag = intent.getExtras().getString("tag"); mPhoneNumber = intent.getExtras().getString("phone"); mActor = new EditPasswordActor(this); mActor.setTag(mTag); mActor.setPhoneNumber(mPhoneNumber); mActor.initView(); }
@Override public void onCountDownEnd() { mActor.activeYzmButton(); }
@Override public void onFlashSecond(int second) { mActor.flashYzmButton(second + ""); }
@Override public void onCountDownBegin() { mActor.turnOffYzmButton(); }
public void onClickPostBtn(View v) { mProgressDialog = CustomProgressDialog.createDialog(this); mProgressDialog.show(); mActor.postEdit(); }
/** * 点击验证码按钮 * * @param v */ public void onClickGetYzmBtn(View v) { mActor.requestYzm(); mActor.$btn("getYzm").setClickable(false); }