Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you mean configChanges, I would strongly recommend against it because it is a bad practice and it probably wouldn't work in this case anyway (no activity recreation = no multi-panel layout on a 7-inch landscape screen).


Ah, sorry I haven't done Android dev in a while; would a better way be yock's onSaveInstanceState/onRestoreInstanceState then?


Yes, something like that in combination with carrying over the existing list data with an retained fragment.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: