I have a contacts registering(is simply just to test) but the editText when it is blank it still send the value to the database so, how do I delete it and make an if/else statement for that? i tried
if(myVariable == null){
code...
}....
but it havent worked, well the “null” is meant if blank but i dont know it much because im new to it.
So you are trying to ensure that your EditText is not empty when you send its value to a database?