This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: W5SdcUyVARob4ha0iCrhqeWWECWO3hmAvVR0VY6XW1A
Cover

Loading and Caching Images with Just One Annotation in Android

Written by @crypticminds | Published on 2020/4/20

TL;DR
Using the ColdStorage library, we can download and store images in our app cache. We download the image once and store it in our cache and reuse it whenever required. The @LoadImage annotation will take care of binding the view to the variable, displaying the place holder image, downloading the image and once the download is complete replacing the downloaded image with the downloaded one. By default there is no animation enabled but you can set the enableLoadingAnimation to true to rotate the placeholder image and animation.

[story continues]


Written by
@crypticminds
Technical Writer on HackerNoon.

Topics and
tags
android|annotations|android-app-development|cache-management|caching-in-kotlin|kotlin|android-mobile-app|java
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: W5SdcUyVARob4ha0iCrhqeWWECWO3hmAvVR0VY6XW1A