Populating Spinner From SQLite Database Android

后端 未结 4 483
灰色年华
灰色年华 2020-11-30 08:35

I\'m attempting to make a dynamic drop down that will be filled by a SQLite table. I have a Cursor object which I can pull the data I need from. I\'ve been able to accompl

4条回答
  •  情深已故
    2020-11-30 08:44

    Try using a SimpleCursorAdapter instead of copying all the data by hand into an ArrayAdapter.

提交回复
热议问题