internal async void LoadMap (GeoPoint point, FavoriteView view, ImageView mapView, long version) { var url = MakeMapUrl (point); var bmp = await LoadInternal (url, MapCache); if (bmp != null && view.VersionNumber == version) { mapView.AlphaAnimate (0, duration: 150, endAction: () => { mapView.SetImageDrawable (new RoundCornerDrawable (bmp)); mapView.AlphaAnimate (1, duration: 250); }); } }
internal async void LoadMap(GeoPoint point, FavoriteView view, ImageView mapView, long version) { var url = MakeMapUrl(point); var bmp = await LoadInternal(url, MapCache); if (bmp != null && view.VersionNumber == version) { mapView.AlphaAnimate(0, duration: 150, endAction: () => { mapView.SetImageDrawable(new RoundCornerDrawable(bmp)); mapView.AlphaAnimate(1, duration: 250); }); } }