Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When data changes and the picker is reload, selected item index can be out of bounds. To prevent that, I check in reloadData method the number of items in the picker view if it's bigger than selected item index. If this index is out, the picker don't scroll.
- Loading branch information