how to stop a method from running while continuing the program code example
Example: how to stop a method from running while continuing the program
public void onClick() {
if(condition == true) {
return;
}
string.setText("This string should not change if condition = true");
}