Iam trying to put the code here but the site keep giving me error So here is it
https://github.com/C9nc/Empty-EditText/blob/main/EditTextCheck
Advertisement
Answer
You have initialised the buttons and edittexts even before you have called the content view !
Initialisation should be done after setContentView();