I know there is a lot of topic on that issue but for my case the only one I found here wasn't answered.
So i'm asking the same question:
Do I need to worry about setting my AssetManager static for a desktop only Game ?
Now just to summarize and clarify the Mobile Game static reference problem, lets say I also wanted to use a static AssetManager on a Mobile Game (because I find it more convenient). I know this will cause the Texture to be disposed on pause() but I can just reload them on resume() right ?
Lets say I have an animation for a player that use the Texture A (previously loaded into a static AssetManager). If the game is paused, the AssetManager reference will most likely be lost. If on the resume() method I recreate this AssetManager (MyGame.asset = new AssetManager()
) and I reload the Texture A, what will happend to my animation ? Will I need to reload it again also ?
I found this phrase in the Texture Javadoc : Managed textures get reloaded automatically. I assume this is only valable for non static AssetManager am I right ?
The last questions are only here to summarize the use of a static AssetManager on Mobile Application.