In Android,How to save a "dynamically created layout" and load back when I reopen app? -
when app running, users adds views in layout
. want store layout
, when reopen app should return same state. how can achieve that?
use onsaveinstancestate()
, onrestoreinstancestate()
callbacks save , restore views.
more @ managing activity lifecycle , recreating activity.
[edit] - per @kadatt comment.
i think trying possible duplicate of android-saving-state-of-dynamically-changed-layout.
i dont think there standard way of doing this. have implement own functionality save state of dynamic ui in form can loaded again.
Comments
Post a Comment