Spinner delete items

后端 未结 4 1978
南笙
南笙 2021-01-18 10:29

I have developed an application in which i have one edit text value of edit text is entered in spinner on button clicked an the item i select to delete gets deleted but the

4条回答
  •  隐瞒了意图╮
    2021-01-18 11:10

    I had the same problem. Doing this did solve the problem, by emptying the spinner:

    mySpinner.setSelection(Adapter.NO_SELECTION);
    

提交回复
热议问题