I\'ve been trying to update my spinner in android dynamically but nothing I try has been working.
This is the following code I\'m using to update the spinner.
Apparently after you do typeList = dbAdapter.getList(), the variable typeList points to a different List rather than the one you fed to the adapter originally and the adapter would be somewhat confused.
typeList = dbAdapter.getList()
typeList
So you should use the following code:
typeList.clear(); typeList.addAll(dbAdapter.getList());