[TIMOB-17959] Android: Support onSaveInstanceState, onRestoreInstanceState for activities
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | None |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.4.0 |
Fix Version/s | n/a |
Components | Android |
Labels | TCSupport, activity, android |
Reporter | Mark Mokryn |
Assignee | Unknown |
Created | 2014-09-02T21:41:45.000+0000 |
Updated | 2018-02-28T20:03:22.000+0000 |
Description
Activities in Android are often destroyed and recreated (e.g. a new Window is opened on top of an activity). The Activity may need to save/restore some custom data, so for that we need this feature. This is already implemented in a fix for the tab group code: https://github.com/appcelerator/titanium_mobile/pull/6008
And this infrastructure is now available for other activities and modules.
You can close this ticket based on this: https://github.com/appcelerator/titanium_mobile/pull/6272