コード例 #1
0
  private void modifyUser() {

    String value = mobile.getText().toString();
    if (value == null || value.isEmpty()) {
      showToask("手机不能为空");
      return;
    }
    if (value.length() != 11) {
      showToask("手机号不合法");
      return;
    }
    httpUserDateService.addParams("mobile", value);
    httpUserDateService.execute(this);
  }
コード例 #2
0
ファイル: MainActivity.java プロジェクト: 275618939/narutov1
 @Override
 protected void initData() {
   httpLoginAutoService.execute(this);
 }