menguji jika edittext java kosong
if (TextUtils.isEmpty(editText.getText().toString()))
{
Toast.makeText(MainActivity.this,
"Empty field not allowed!",
Toast.LENGTH_SHORT).show();
}
else
{
Toast.makeText(MainActivity.this,
"Proceed..",
Toast.LENGTH_SHORT).show();
}
Defeated Donkey