I am trying to make a condition which, if gettingupspeech
matches either one of the strings, the if
function will set resultText
to "Correct! Press Next to move on."
if(gettingupspeech.equals("5 more minutes Mum""five more minutes Mum")){
resultText.setText("Correct! Press Next to move on.");
}else{
resultText.setText("That sounded off, please try again.");
}