문제

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

도움이 되었습니까?

해결책

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

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

File file = new File(uri);
        Picasso.with(context).load(file).skipMemoryCache()
                .placeholder(R.drawable.note_fold).into(holder.thumb);
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top