News for hackers. Stuff that matters.
Re:Hacker News app for Android (with login, voting, and comm... by rudd on Tuesday January 25, 2011 @01:38PM (#2140250)
Cool, I'm using it to write this. Seems to work well enough. I wish there was a light theme, as I'm not really a fan of the light grey on black. Also,the voting doesn't seem to work correctly. I voted up this story, then quit the app and re-launched it, and it said I hadn't voted. Trying to vote it up again though failed, as the vote had indeed gone through.
Re:Hacker News app for Android (with login, voting, and comm... by jazzychad on Tuesday January 25, 2011 @01:54PM (#2140311)
That's correct... I'm using the ihackernews.com API at the moment, so your votes aren't reflected in the data I get from there if you reload the app/page. If/when I use an html parser to fetch all the data directly from new.ycombinator this bug will be fixed. For now, if the number of points changes after you vote, it means the vote went through successfully.
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

Re:Hacker News app for Android (with login, voting, and comm... by guelo on Tuesday January 25, 2011 @02:33PM (#2140477)
It obviously needs a HN colored theme including respecting your topcolor choice.