문제

I am working on an app that keeps track of who you lended your book to, and I want to add an image feature, so that users can see thumbnails of each book in the list. I can get images via the google books api, but then I have two options. One is downloading the image and storing it on the users device, which means more storage space, but then I don't need to download the images every time the user enters the application. Second option is the opposite, not storing on the device so less storage space but more internet usage. What should I do?

도움이 되었습니까?

해결책

I'd recommend using a good 3rd party image loading framework, for example Picasso. It implements all the best practices of image loading on Android, including asynchronous loading and caching.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top