Spinner : onItemSelected not called when selected item remains the same

后端 未结 10 686
不思量自难忘°
不思量自难忘° 2020-11-28 07:12

I have a OnItemSelectedListener for my Spinner, but it is not called when the selected item is the same as the previous one. Apparently the O

10条回答
  •  旧巷少年郎
    2020-11-28 07:49

    i found a simple solution

    just call setAdapter again in place of notifyDataSetChanged for the second spinner

提交回复
热议问题