Are available
String a = "first_string"; String b = "second_string";
and the button by pressing which should change the values of two variables. Did so:
if (!click){ b = first_string; a = second_string; click = true; } else { b = first_string; a = second_string; click = false; }
But it seems to me the code is too bulky.
Question: Is there a short solution to this problem?