开发者

Android Dev.: How to populate gallery by image URL?

开发者 https://www.devze.com 2022-12-28 06:44 出处:网络
I\'m trying to build a gallery where the images within will be pulled from the images URL from a website.i.e. Instead of doing R.drawable.xxxx.jpg, you use a url to represent the image.

I'm trying to build a gallery where the images within will be pulled from the images URL from a website. i.e. Instead of doing R.drawable.xxxx.jpg, you use a url to represent the image.

Is this possible? If so, can you show me an example i开发者_运维百科n code?

Thanks


this might be old post, but hey this library from github might be helpful

Android Image Loader

Also, on Application class, set the option to MaxPriority for better outcome.

Cheers, Hope this helps...

0

精彩评论

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