How can i get my code to compare the string inputted by the user – so lets say the user presses keypad_1 , i then want to press the keypad_hash button and display incorrect to the user – The issue is when i press keypad_hash nothing happens thank you
Share
This line:
should be:
getText returns a CharSequence, not a string. From the documentation on String: