I have a listview with title and image in one row. And image is to come from remote server. Whats the best way to cache those images in android. I could think of two ways.
Cache image on sdcard and corresponding entry in sqlite so that I can get path while listview is being scrolled.
Cache images per activity so if activity finishes. Image cache flushes
Point 2 is simpler but not efficient.
How will be the performance in point 1.
Please help and suggest any other alternatives.