Android: ListAdapter populating image (icon) source
Posted
by user117701
on Stack Overflow
See other posts from Stack Overflow
or by user117701
Published on 2010-06-06T09:04:45Z
Indexed on
2010/06/06
9:12 UTC
Read the original article
Hit count: 200
android
I'm populating a list from the DB, and i have a image field in the DB which contains a URL to a image file.
ListAdapter adapter=new SimpleCursorAdapter(this,
R.layout.row, constantsCursor,
new String[] {"title", "subtitle", "image"},
new int[] {R.id.value, R.id.title, R.id.icon});
However, the other fields are populated, but the image remains empty. Why?
© Stack Overflow or respective owner