Image Caching that use Glide(v3) for android and SDWebImage(v4) for ios
this plugin is under development, i really appreciate pull request and contribution in this repo. Thanks!
inspired from nativescript-image-cache-it
they used Picasso rather than Glide.
tns plugin add nativescript-image-caching <ImageCache src="http://lorempixel.com/2000/2000/sports"
width="100%"
height="210"/>inside your app module. insert:
import { registerElement } from 'nativescript-angular/element-registry';
registerElement('ImageCache', () => require('nativescript-image-caching').ImageCache);| Property | Default | Description |
|---|---|---|
| src | - | (required) link url of an image |
MIT