xhsyy / recycle-locator

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

Reduce Redundancy in GET requests #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There is strong redundancy in the GET requests.  However, there are also some 
issues to work out.  We need getBuildings to be done in the menu module, but 
getLocations needs to be done after user-location is detected.

My solution, which I will attempt, is to split the location services into a 
separate file which will be called upon application startup.  The benefit of 
this is also that a faster lock on to location can be made, and we can combine 
the request methods into a single meta-method.

Original issue reported on code.google.com by raftysworld@gmail.com on 26 Feb 2011 at 5:49

GoogleCodeExporter commented 9 years ago
Created a Request.java file which is parameterized.  This handles both 
buildings and locations.

Original comment by raftysworld@gmail.com on 26 Feb 2011 at 7:03

GoogleCodeExporter commented 9 years ago

Original comment by raftysworld@gmail.com on 7 Mar 2011 at 4:55