xhsyy / recycle-locator

Automatically exported from code.google.com/p/recycle-locator
0 stars 0 forks source link

Map don't reflect the newest information in the database #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
select restroom
select menu->go to add new item
select add a restroom somewhere
select restroom, verify that it is added
go back go back go back (basically go back x 4 ish)
should be back at the restroom map called up when entering the app
The new added item is not there.

--->why:
b/c when we return we don't re-query for the newest items added, so we are 
displaying the old query instead of the newer ones

Original issue reported on code.google.com by naan...@gmail.com on 11 Mar 2011 at 7:56

GoogleCodeExporter commented 9 years ago
The problem is that activity changes are like a big stack... the back button 
doesn't actually cause you to execute any new code, it simply pops the current 
activity off the stack.  So I don't think we really can change this... maybe 
there's a hack to do it?  Either way, I think we're fine not fixing it because 
every app that i've ever seen has this same issue in Android... sort of like if 
the back button only loaded the completely cached version of a page in a web 
browser.

Original comment by raftysworld@gmail.com on 24 Mar 2011 at 9:00