Make sure the TileLoader is run in background thread
handle null, new constructor
context reference. Will be used later on
cacheKey support
remove no network toast
keep a reference to the cache
set cache key when setting source
cacheKey support for tileCache
maps are now visible offline!
temporarely uses a local build until changes get merged and released
we now uses the cache features to optimize
fix memory leak from static cache. cleanup by removing ensureCapacity
only change the marker if we actually loaded something. That way when offline you actually still see the black pin
prevent unnecessary networks call when no network. If a map request fails (cache+network) then the tile is marked as unavailable. Then if asked again immediately return null. Makes scrolling so much smoother when offline!
When coming back online the list is automatically cleaned
release if BitmapCache for now so taht we can really build
Merge branch 'master' of github.com:mapbox/mapbox-android-sdk into diskcache

Conflicts:
	MapboxAndroidSDK/src/main/java/com/mapbox/mapboxsdk/overlay/TilesOverlay.java
	MapboxAndroidSDK/src/main/java/com/mapbox/mapboxsdk/tileprovider/MapTileLayerBasic.java
	MapboxAndroidSDK/src/main/java/com/mapbox/mapboxsdk/tileprovider/modules/MapTileDownloader.java
	MapboxAndroidSDK/src/main/java/com/mapbox/mapboxsdk/tileprovider/modules/MapTileModuleLayerBase.java
	MapboxAndroidSDK/src/main/java/com/mapbox/mapboxsdk/tileprovider/tilesource/ITileLayer.java
	MapboxAndroidSDK/src/main/java/com/mapbox/mapboxsdk/tileprovider/tilesource/MapboxTileLayer.java
	MapboxAndroidSDK/src/main/java/com/mapbox/mapboxsdk/tileprovider/tilesource/TileLayer.java
a few cleanups to gradle files. Also keep BitmapCache project references commented for now
prevent some dumb android studio errors
trying to prevent some flashing effect which zooming out. Still not perfect
fixed dependency error