Exiting an Android app on back button press LibGDX
I have catched my back key and gave Gdx.app.exit();, then the app exits.
Till here its working fine. But, when i happen to a go to a different
screen and get back to my original screen and again press back button, the
app doesn't exit. I would like my app to exit always when I press back
button from a particular screen.
Thanks.
No comments:
Post a Comment