Config changes research 2

satya - 11/13/2013 1:47:43 PM

See Previous Research 1 here

See Previous Research 1 here

satya - 11/13/2013 1:48:15 PM

In Android Config change not saving/restoring updated textview content

In Android Config change not saving/restoring updated textview content

Search for: In Android Config change not saving/restoring updated textview content

satya - 11/13/2013 1:49:27 PM

I have ensured

Text view has unique id

I did not disable saveEnabled

Still the text view looses its updates that were done before config change

satya - 11/13/2013 1:51:10 PM

Only explanation I can think off is

Some how textview doesn't think its state needs to be saved!!

satya - 11/13/2013 1:52:16 PM

Aha, here is SOF to the rescue again

Aha, here is SOF to the rescue again

satya - 11/13/2013 1:52:26 PM

Apparently you have to tell this


<TextView 
     ... 
     android:freezesText="true" />