Reputation: 408
How can I add images from file not as a blob using SimpleCursorAdapter?
Upvotes: 0
Views: 176
Reputation: 24820
you will have to use a viewbinder, before binding each element of the list you will get a callback on
setViewValue(View view, Cursor cursor, int columnIndex)
Depending on the columnindex you can setImage and then return true for only this case. Rest all cases you will have to return false, so that the SimplecursorAdapter will fill with appropriate data
Upvotes: 1