Lazy loading existing contact images in Android -


i'm trying use lazy loading , create contact list pre-defined images (the images used each contact). can find how use lazy loading load images web, there way can use existing images?

use picasso library lazy loading image in storage (sd,network,etc ...)

add line application gradle build file:

compile 'com.squareup.picasso:picasso:2.5.2' 

and in code can snippet :

picasso.with(context).load(new file(...)).into(imageview3); 

check picasso webpage more example !


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -