android - How long is a Intent available -
im wondering how long getintent() in activity available (does not return null). lets start activity b activity , pass data in intent.
in activity b read data intent in activities oncreate() method. far good. how long getintent()
available? mean, if user displaying activity b, switchs app (i.e. using multitasking button) , after hours user clicks on multitasking button again (the activity may have been destroyed in meantime) , opens activity b again. activity b oncreate()
called reinstantiate activity b. getintent() still returns original intent value or have save intent value in activities onsaveinstancestate()
, use bundle in oncreate(bundle state)
?
does getintent() still returns original intent value
technically, returns copy of intent
. speaking, should identical original intent
, including extras.
Comments
Post a Comment