Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I added a new tab below Starred Stops called Starred Routes.
It takes you to a list of routes which are starred at at least one stop.
A long press on a route shows a popup menu with various options, including an option to remove all stars from that route.
There is also a button in the top right menu to remove all stars from all routes.
When the user taps one of the starred routes, it shows the map view for that route.
This is better than the old method of showing a text-based list of stops because the map is much more readable and it provides useful information about the actual location of buses. Most users I have spoken to do not know that the route-specific map view exists, and they say that it is useful when I show it to them. I modified the "recent routes" list to have similar behavior.
I made one change to existing code, factoring out the classes RouteInfoLoader and RouteInfoLoaderCallback from RouteInfoListFragment into QueryUtils. This is because I need to load the long name of a route when it is starred by the user, to make sure that the Starred Routes page is fully populated.