I donβt believe that this is called minimization, but basically when the user moves from my game, is there an easy way to pause? The only thing I know is packages, IE restoreState (Bundle savedState)
The problem is that I am trying to solve all kinds of logical problems with such variables:
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 to just stop the thread and resume it when they return? This is terribly annoying as my application is still under development and I have to update it every time I add a variable. I know that I am a lazy programmer, but ... what is the point of programming correctly? (To be lazy.)
source
share