cgeo/c-geo-opensource — Issue #1098: Refactoring StaticMapsProvider
Author: marco-jacob
Created: 2012-02-09 08:25:26+00:00
State: open

This issue should collect all current refactoring requests for StaticMapsProvider.
So far collected:

- use thread pool of size=1, only one download thread
- use IAbstractActivity instead of activity for better testing
- create test class for StaticMapsProvider
- provide message handler
- provide isStaticMapExisting(geocode)
- provide isStaticMapExisting(geocode, waypointId)
- move code to load images from StaticMapsActivity to StaticMapsProvider
- extract guessDisplaySize to DisplayHelper class

Comments? Additional requests?