开发者

Android add extra items to spinner apart from database column

I am loading elements 开发者_StackOverflowto spinner from the database table column. But I would like to add some additional elements also to this spinner. Is there a way to do this?

Rgds, Sapan


You could use a MatrixCursor to add your own data, and use a MergeCursor to merge the cursor coming from the database and your matrix cursor.

Regards, Stéphane

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜