diff --git a/powerspinner/src/main/java/com/skydoves/powerspinner/IconSpinnerAdapter.kt b/powerspinner/src/main/java/com/skydoves/powerspinner/IconSpinnerAdapter.kt index 9781f04..a54aa40 100644 --- a/powerspinner/src/main/java/com/skydoves/powerspinner/IconSpinnerAdapter.kt +++ b/powerspinner/src/main/java/com/skydoves/powerspinner/IconSpinnerAdapter.kt @@ -65,6 +65,7 @@ class IconSpinnerAdapter( override fun setItems(itemList: List) { this.spinnerItems.clear() this.spinnerItems.addAll(itemList) + this.index = NO_SELECTED_INDEX notifyDataSetChanged() }