Hacker News new | past | comments | ask | show | jobs | submit login

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.



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.


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.


Check out the following video from io2010 regarding optimizing your listviews..

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




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

Search: