java - What happens to a static textview during onCreate() -


i have static textview has default value set in xml. later, set variable else, whenever orientation changes, value of static variable returns default, though i'm not reinitializing it. why might be? shouldn't value persist after oncreate() called?

when oncreate() gets called i'm guessing call setcontentview() normal. redraws of views default values. need handle configuration changes

see answer of mine on how handle it. recommended way use onsavedinstancestate handle myself , haven't had problems...yet


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -