Frage

I'm trying to display all contact list in my activity, what is the best way for showing/caching the contact photos? assuming I have 1000+ contacts and all of them have profile photo.

I already read about Google volley library but it's for loading pictures from HTTP.

Also, I've read the Caching Bitmaps in developer.com.

  1. Whats is the difference between the two?
  2. what should I use to load contacts profile image?

Thanks for the help

War es hilfreich?

Lösung

http://square.github.io/picasso/

...............................

File file = new File(uri);
        Picasso.with(context).load(file).skipMemoryCache()
                .placeholder(R.drawable.note_fold).into(holder.thumb);
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top