I have the following problem, and would like to help everyone please.
I have an activity, where, if you press btn1, it will happen boolean table1 = true;
As for btn2 ... in succession.
When table1 is true, the button changes color, and opens a new activity. When I do this in btn2, the button changes color, and opens the activity. But when returning, btn1 is no longer with the color changed, ie, table1 is false;
How to keep: boolean table1 = true; regardless of how many activiys I open?