如何将URL图像延迟加载到谷歌地图标记图标

时间:2017-02-14 09:14:47

标签: android image google-maps google-maps-markers android-maps-v2

我正在使用谷歌地图实用程序库演示代码,并更改为使用毕加索进行图像加载。

我的问题如下所示。

Picasso无法加载图片并使用占位符图片

Picasso can't load the image and use the placeholder image

放大和缩小后,刷新标记。可以加载图像

After zoom in and out, Refresh marker. Can load the image.

我的问题与Google Map V2 Lazy loading of marker image相同 但我无法从答案中得到帮助,我被卡住了click我也尝试了Picasso onSuccess回调,但也对它感到厌烦。

下载URL图像完成后如何刷新制造商图标? 我可以使用另一个URL图像加载器库。

Bitmap bitmap = thumbCache.get(url);

0 个答案:

没有答案