Skip to content

Image Caching that use Glide(v3) for android and SDWebImage(v4) for ios

License

Notifications You must be signed in to change notification settings

ptdede/nativescript-image-caching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nativescript Image Caching

Image Caching that use Glide(v3) for android and SDWebImage(v4) for ios

CAUTION!

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.

Installation

tns plugin add nativescript-image-caching

Usage

  <ImageCache src="http://lorempixel.com/2000/2000/sports"
              width="100%"
              height="210"/>

IMPORTANT FOR ANGULAR

inside your app module. insert:

import { registerElement } from 'nativescript-angular/element-registry';
registerElement('ImageCache', () => require('nativescript-image-caching').ImageCache);

API

Property Default Description
src - (required) link url of an image

License

MIT

About

Image Caching that use Glide(v3) for android and SDWebImage(v4) for ios

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published