I don't believe it is called minimization, but basically when the user navigates away from my game, is there an easy way to pause it? The only thing I know of is bundles, IE restoreState(Bundle savedState)
The problem is, I find myself trying to all sorts of logic problems on variables like this:
xGrid = new float[savedState.getFloatArray("xGrid").length];
yGrid = new float[savedState.getFloatArray("yGrid").length];
xGrid = savedState.getFloatArray("xGrid");
yGrid = savedState.getFloatArray("yGrid");
Is there an easier way like just stopping the thread and resuming it when they return? This is awfully annoying, considering my app is still in development and I have to update this every time I add a variable. I know i'm a lazy programmer, but... that's the point of programming right? (To be lazy.)