- Code: Select all
EditText edit_filename = (EditText) findViewById(R.id.name);
EditText edit_filedcrp = (EditText) findViewById(R.id.description);
Then I wanna make sure that both EditText have been filled with some text inside,
So,
- Code: Select all
if (edit_filename.getText().toString() != null
&& edit_filename.getText().toString() != "") {
.....
}
It just can tell whether they're been filled or not! What shoule I do to get the edittext content?
Thx!






