开发者

ImageView with Spinner

开发者 https://www.devze.com 2022-12-28 21:13 出处:网络
I have a GridView displayin开发者_开发知识库g thumbnails using ImageViews. I am displaying a default image while the thumbnail images are being downloaded from the background(inspired from native appl

I have a GridView displayin开发者_开发知识库g thumbnails using ImageViews. I am displaying a default image while the thumbnail images are being downloaded from the background(inspired from native applications) i.e. the getView() of my adapter class returns a default Bitmap first and then runs a background thread and replaces the default with actual later.

GridViews in iPhone application display a spinner (Animated GIF) instead of default image.

How can a similar thing be achieved in Android?


As Raj commented, get DroidFu's WebImageView here.

0

精彩评论

暂无评论...
验证码 换一张
取 消