Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17959] Android: Support onSaveInstanceState, onRestoreInstanceState for activities

GitHub Issuen/a
TypeNew Feature
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.4.0
Fix Version/sn/a
ComponentsAndroid
LabelsTCSupport, activity, android
ReporterMark Mokryn
AssigneeUnknown
Created2014-09-02T21:41:45.000+0000
Updated2018-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.

Comments

  1. Mark Mokryn 2014-11-05

    You can close this ticket based on this: https://github.com/appcelerator/titanium_mobile/pull/6272

JSON Source