Android-Hint-Spinner
Android-Hint-Spinner copied to clipboard
No hint is displayed when list of options is empty
Hey Sergio, could it be possible to display a hint even when the options list is empty? Currently the hint is not shown until an adapter is set with at least one option.
It looks like the getView() method of the spinner is not called when the options list getCount is 0, so the Hint view is never displayed in this case.
Thanks
Hi Gustavo, I think that's not possible at the moment. As you say, getView is not called when the list is empty. Let me think if it's possible to change this behaviour without adding the hint to the list (which was my initial approach and was a big headache).
I thought so! :)
No worries, thanks a lot for your great work!
it's a great work , but i thing this issues doesn't resolved until now as i wait the webService response and the list be empty so the hint disappear