How to get the values from DB in spinner

后端 未结 3 1540
暗喜
暗喜 2021-02-03 16:16

How to get values into the spinner from the DB. I want to display values or datas on UI from DB. Is it cursor necessary to use to populate the values onto the UI?

3条回答
  •  半阙折子戏
    2021-02-03 17:00

    yes, cursor is required to fetch result set object or data as result set. You can find solution from

    Android Developers Blog

提交回复
热议问题