0
How can I check if what is being typed into a edit text is equal to what I have is a variable
For instance I have a string variable that has the words ("hello there") In it how could I check if a person has typed the words hello there in the edit text
1 Respuesta
+ 2
https://developer.android.com/reference/android/widget/EditText.html#getText()
EditText has a getText() method, so you could compare on that