setSelection on Spinner based on rowId

前端 未结 7 704
离开以前
离开以前 2020-12-14 22:19

I have a Spinner View that\'s populated through a SimpleCursorAdapter.

Based on the selection I need to save the rowid in the entry database (posit

相关标签:
7条回答
  • 2020-12-14 22:44

    Had an idea when writing this, made a hashtable with rowid->pos when populating the spinner and then used that. Might help someone if they're searching.

    0 讨论(0)
提交回复
热议问题