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

r - how do you merge two data frames the best way? -

How to debug "expected android.widget.TextView but found java.lang.string" in Android? -

php - mySQL problems with this code? -