1

I want to load Stickers from the server using remote URL, I have found a solution for that from following post.

Creating a MSSticker with a remote image

But now i want to load sticker image with lazy loading, can i add loader in each sticker cell until image load from remote url.

AtulParmar
  • 4,358
  • 1
  • 24
  • 45
  • 1
    Hi, according to the link you mentioned, we can't directly provide a remote url for stickers, so we have to download it locally and give a local URL. So you might as well set a placeholder image until your sticker image is downloaded, and on completion of download, you can set the new image as your sticker. – AjinkyaSharma Apr 11 '19 at 10:11
  • Might not be what your looking for but you can use Nuke, allows you to use a placeholder and even a default image for images that might fail to load. https://github.com/kean/Nuke – M.Hem Apr 13 '19 at 19:58

1 Answers1

-1

Yes you can show loader on each cell and hit the remote url to load the image.

Async image loading from url inside a UITableView cell - image changes to wrong image while scrolling