我正在使用 android libgdx 框架进行新编码。 我有一个基本的疑问,如果我从一个屏幕导航到另一个屏幕,旧屏幕是否会被丢弃或在暂停或隐藏状态下等待?
请帮我解开这个疑惑。
最佳答案
来自 https://code.google.com/p/libgdx-users/wiki/ScreenAndGameClasses :
Note that Screen's dispose() method is never called automatically- when ApplicationListener's dispose() method is called, Game calls screen.hide() instead.
关于java - 当调用新屏幕时,旧屏幕会被处理吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18733380/