Closed mochadwi closed 3 years ago
Hi @mochadwi , thank for your feedback. I will check on it soon if it the root cause of that issue. Currently I'm a bit busy with company projects so cannot support you for now. Please stay tune. Thank
If it's okay, I might open a PR for it @Chivorns
Okay @mochadwi . Much appreciate.
I'm curious about this line of code (highlighted)
and see the implementation of
hint
will never be null, because you were always using""
a blanks/empty strings.both in setter line 1106 and 256
thus the code:
SmartMaterialSpinner.super.setSelection(hint != null ? finalPosition + 1 : finalPosition, false);
will always having a
finalPosition + 1
means the index/position == item.size,IndexOutOfBoundsExceptions
occurredIMHO the rest of the nullability check will having a false-positive instead
cmiiw