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

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -