sumeetsinghani / bus-stop-alarm

Automatically exported from code.google.com/p/bus-stop-alarm
MIT License
0 stars 0 forks source link

TODO: Merge tables "destination" and "recent" #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Look in source code BusDbAdapter.java

What is the expected output? 
Ideally there should be only one table for storing destinations.

What do you see instead?
There are two. "recent" was created as a fix to issue 54.

What we could do (but cannot since we don't have time) is to add an extra 
field ("isFav") in the destination that would distinguish between which 
destinations are favorited by the user and those who are not. But that also 
means we have to change the queries in the class.

Original issue reported on code.google.com by chen...@gmail.com on 13 Mar 2010 at 9:54