Bigkoo / Bigkoo/Android-PickerView
多级联动时,如果某一级数据为空,会抛异常adapter.getItemsCount() == 0,联动数据不匹配
Open
- Dominant language
- Java
- Stars
- 13.4k
- Forks
- 3.4k
- PR merge metrics
- No merged PRs in 30d
Description
看了源码,原因是在做判断时只判断是否为null,而没有做isEmpty判断
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the multi-level linkage path around the adapter.getItemsCount() check and compare how null and empty data are handled. Reproduce a linkage case where one level has no items, then verify that empty data no longer throws an exception and mismatched linkage data is handled safely.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100