This Gist has been discontinued and will be updated on a GitHub project here. The files I have removed from this Gist can be found there. Please feel free to open issues, pull requests, etc, so that I can change and improve the library how you like.
If you are already using the Gist, delete the layout XML, values XML, and Java files (the ones I have removed from this Gist), and instead add the following in your app module's build.gradle
dependencies:
compile 'com.satsuware.lib:usefulviews:+'
Make sure to change your imports as well in the files that you are using the LabelledSpinner
component.
Apologies for the late reply, @scottyab - I have been working on making this an Android library.
Just to clarify, would you like the error text to be shown if the user makes an invalid selection (i.e. showing error text for specific selections)?
If so, in what way would you like it to be implemented? I have a suggestion below, but let me know if you have any other ideas: