Android: control activity re-creation
This commit is contained in:
1 parent
2e6c48dcb4
commit
dfd80f3d76
5 files changed
+71
-1
No files matched your search
@@ -218,6 +218,13 @@ You should not use the SDL renderer API while the app going in background:
|
||||
GL context is restored, and the SDL renderer API is available (unless you
|
||||
receive SDL_EVENT_RENDER_DEVICE_RESET).
|
||||
|
||||
Activity lifecyle
|
||||
================================================================================
|
||||
|
||||
You can control activity re-creation (eg. onCreate()) behaviour. This allows to keep
|
||||
or re-initialize java and native static datas, see SDL_hints.h:
|
||||
- SDL_HINT_ANDROID_ALLOW_RECREATE_ACTIVITY
|
||||
|
||||
Mouse / Touch events
|
||||
================================================================================
|
||||
|
||||
|
||||
Reference in new issue
Block a user