Two problems with rotation: 1) The article list scrolling position is reset. 2) On my Nexus 7, going from landscape to portrait while viewing comments closes the comments.
Show HN: My first Android app - Hacker News reader
41–46 of 46 posts
Re: Show HN: My first Android app - Hacker News reader
#42One question : How web scraping is done ?
Re: Show HN: My first Android app - Hacker News reader
#43Is the source code available on github by chance? I've recently started delving into android and would love to study/contribute to this app if possible. Regardless, really an excellent job overall with it.
Re: Show HN: My first Android app - Hacker News reader
#44Great App! How much time did you spend on writing the app?
Re: Show HN: My first Android app - Hacker News reader
#45Earlier quoted context omitted.
Rotation issues are usually to do with the activity being recreated (i.e. onCreate is called again) as the screen size has changed. There is a config to disable this however: http://developer.android.com/guide/topics/resources/runtime-...
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).
Re: Show HN: My first Android app - Hacker News reader
#46Earlier quoted context omitted.
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?