Set retain instance on new dialog fragments
Add comment
Add Clear Map option, and stub for About option
Minor formatting change
1) Add updateDestinationMarkerText() helper method
2) Amend placeDestinationMarker() to take in boolean indicated whether to show the InfoWindow
3) Add clearAll() method, called from the activity to clear markers + polyline from map
4) Add displayingRoute() method to determine if a route is displayed on the map
1) Add pref keys for origin/destination title and snippet text
2) Store marker titles + snippet (if applicable) on saveInstanceState
3) Restore marker titles and snippets from instance state
4) Provide own InfoWindowClickListener to respond to user tapping on the maps, to initiate getting directions
5) Initial network availability handling: new NetworkReceiver to respond to network changes
6) Amend onCreate() to register the NetworkReceiver and onDestroy() to unregister
7) Respond to Clear Map options menu selection by calling mapHelper.clearMap()
8) Geocode user's map tap to provide InfoWindow details
Add InfoWindow strings, and Toast strings for reverse-geocoding and no network availability
Change first_run_text to first_run_dialog_text for consistency
Amend reference to first_run_text to first_run_dialog_text
Add map actions disabled string for toasts
Just show toast on network loss
1) Add javadoc to methods
2) Network availability handling; display toasts on loss, or when no network and user taps on the map
3) Register network receiver on resume if not already registered (as may be the case if user coming back to the app via the back button from Settings)