I\'d like to be able to call code like this, similar to how setError is set on a TextView:
setError
spinner.setError(\"Error message\");
Ho
Spinner class will return a textview when you use getSelectedView(). So you can use setError() indirectly.
getSelectedView()
setError()
((TextView)spinner.getSelectedView()).setError("Error message");
Results should be like ...
Hope It will be helpful!