News for hackers. Stuff that matters.
Re:Hacker News app for Android (with login, voting, and comm... by rudd on Tuesday January 25, 2011 @02:06PM (#2140370)
Maybe keep a list of my votes in the application cache and check against that as well as the ihackernews API? Same with my comments, too. I would really enjoy if it appeared to have read-your-writes consistency.
Re:Hacker News app for Android (with login, voting, and comm... by jazzychad on Tuesday January 25, 2011 @02:12PM (#2140395)
Yes, that's probably what I'll do in the interim. I'll have to figure out how to do these checks efficiently. Scrolling lists in Android is already clunky due to the way rows are rendered, so I'll need to make sure to not make it worse by checking the entire 'already-voted-list' for each row.
Re:Hacker News app for Android (with login, voting, and comm... by kefs on Tuesday January 25, 2011 @02:16PM (#2140412)
Check out the following video from io2010 regarding optimizing your listviews..

http://www.youtube.com/watch?v=wDBM6wVEO70