开发者

Displaying Gridview and then later loading?

开发者 https://www.devze.com 2023-04-12 16:55 出处:网络
I am using GridView to display more than 100 images from web. Its takes time to load and display, so I use lazy loading but that does not speed it up.

I am using GridView to display more than 100 images from web. Its takes time to load and display, so I use lazy loading but that does not speed it up.

So I want to display the view or activi开发者_运维百科ty first and then I want to display the images in the background.

How do I achieve this? Thank you


Have you tried Fedor's Lazy Loading logic: Lazy load of images in ListView

Yes this answer is for Loading images inside the ListView, but you can use the same for GridView as well. I had implemented previously and it was working fine in my case.

0

精彩评论

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

关注公众号