Here is a line of code that I have:
public class ReminderHandler() {
if (edittext.containsReminderWords()){
test.setText("Do you want me to remind you to " + sharedPref.getString(toremember, toremember) + "?");
}
}
I want the program to wait for either a yes or a no answer from the edittext after this specific line of command.
I have no idea how though.
How can I achieve this?