Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting new items #66

Closed
KhaledSherifSayed opened this issue Jun 15, 2021 · 1 comment
Closed

setting new items #66

KhaledSherifSayed opened this issue Jun 15, 2021 · 1 comment

Comments

@KhaledSherifSayed
Copy link

Please complete the following information:

  • Library-Version [e.g. v1.1.7]
  • Affected Device(s) [e.g. Samsung Galaxy s10 with Android 9.0]

Describe the Bug:

When setting New Items but size smaller than from list before the spinner crash in notifyItemSelected IndexOutOfBoundsException because this line
"oldItem = oldIndex.takeIf { it != NO_SELECTED_INDEX }?.let { spinnerItems[oldIndex] }"

Expected Behavior:
set new items and setting old index to -1

@ghost ghost mentioned this issue Jul 6, 2021
3 tasks
@skydoves
Copy link
Owner

Released on a new version 1.1.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants