在不给textView赋初值的情况下:String text = textView.getText().toString();
用text.equals("")来判断判断是否为空,不能用text == null,或者用 text .equals("") || id == null;
在不给textView赋初值的情况下:String text = textView.getText().toString();
用text.equals("")来判断判断是否为空,不能用text == null,或者用 text .equals("") || id == null;