I have a list of items that I wish to map onto a ListView, but the individual fields of those items may or may not be backed by sqlite. If the item is not backed by sqlite, I'd like to just display s开发者_StackOverflowome default values and the id. Is there a way to do this using SimpleCursorAdapter or should I look elsewhere?
As you want some specialist behaviour, you might be better off creating your own CursorAdapter implementation by extending CursorAdapter
(or SimpleCursorAdapter
). It's not too tricky and there are some good examples available with a quick search.
精彩评论