shawnlauzon/LazyList — comment on commit b23845f1f1feb3f9ec73bde5e5bd630261a7c833
File:  line 0
By shawnlauzon:

Sorry for the long delay in response. To answer your question, yes I load the image out of an InputStream that I get from the database. Here, I use the ContentResolver capability for storing binary database in the ContentResolver as described at http://developer.android.com/guide/topics/providers/content-providers.html

mImageLoader.displayImage(cursor.getString(WordsQuery._ID),
new Callable() {
@Override
public InputStream call() throws Exception {
final Uri pictureUri = Pictures
.buildPictureUri(pictureId);
return getActivity().getContentResolver()
.openInputStream(pictureUri);
}
}, holder.picture);