예제 #1
0
 @Override
 public void onActivityCreated(Bundle savedInstanceState) {
   super.onActivityCreated(savedInstanceState);
   initView();
   setValue();
   dialog = DialogUtil.createLoadingDialog(getActivity());
   dialog.show();
   getPictureList();
 }
 @Override
 public void onClick(View v) {
   String passwd = edit_password.getText().toString();
   String paswdAgain = edit_agagin_passwrod.getText().toString();
   if (!paswdAgain.equals(passwd)) {
     ToastUtil.showToast("Á½´ÎÊäÈëµÄÃÜÂë²»Ò»ÖÂ", Toast.LENGTH_SHORT);
     return;
   }
   mActivity.getmRegister().setUser_password(passwd);
   dialog = DialogUtil.createLoadingDialog(mContext, "ÇëÉÔºò");
   dialog.show();
   userRegister();
 }