thanks mark. it works.
On Dec 26, 5:04 pm, Mark Murphy wrote:
> j wrote:
> > When device goes to sleep, any text entered into the EditText is gone
> > when device awakes. How do I save/restore the text?
>
> Implement onSaveInstanceState() and save whatever state you want in the
> Bundle. You wi
j wrote:
> When device goes to sleep, any text entered into the EditText is gone
> when device awakes. How do I save/restore the text?
Implement onSaveInstanceState() and save whatever state you want in the
Bundle. You will get that Bundle back in onCreate().
--
Mark Murphy (a Commons Guy)
htt
2 matches
Mail list logo