I have created an app using the lib gdx library, but now when trying to exit the app via the below code
Gdx.app.exit();
, it do not really exit the app but just hide it (process is cached in the background).
On the first run of the app, the main menu (created using skin) will appear fine
But after exiting the app, then start the cached process, you will get issues with the main menu. I try to dispose of the skin in my code but it is still the same.
Is there anyway to fully exit the app using the below code as an alternative?
android.os.Process.killProcess(android.os.Process.myPid());