{"action":"created","issue":{"url":"https://api.github.com/repos/FarbodSalamat-Zadeh/LabelledSpinner/issues/18","labels_url":"https://api.github.com/repos/FarbodSalamat-Zadeh/LabelledSpinner/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/FarbodSalamat-Zadeh/LabelledSpinner/issues/18/comments","events_url":"https://api.github.com/repos/FarbodSalamat-Zadeh/LabelledSpinner/issues/18/events","html_url":"https://github.com/FarbodSalamat-Zadeh/LabelledSpinner/issues/18","id":126285783,"number":18,"title":"Error text","user":{"login":"FarbodSalamat-Zadeh","id":12140044,"avatar_url":"https://avatars.githubusercontent.com/u/12140044?v=3","gravatar_id":"","url":"https://api.github.com/users/FarbodSalamat-Zadeh","html_url":"https://github.com/FarbodSalamat-Zadeh","followers_url":"https://api.github.com/users/FarbodSalamat-Zadeh/followers","following_url":"https://api.github.com/users/FarbodSalamat-Zadeh/following{/other_user}","gists_url":"https://api.github.com/users/FarbodSalamat-Zadeh/gists{/gist_id}","starred_url":"https://api.github.com/users/FarbodSalamat-Zadeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FarbodSalamat-Zadeh/subscriptions","organizations_url":"https://api.github.com/users/FarbodSalamat-Zadeh/orgs","repos_url":"https://api.github.com/users/FarbodSalamat-Zadeh/repos","events_url":"https://api.github.com/users/FarbodSalamat-Zadeh/events{/privacy}","received_events_url":"https://api.github.com/users/FarbodSalamat-Zadeh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FarbodSalamat-Zadeh/LabelledSpinner/labels/enhancement","name":"enhancement","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-12T21:54:22Z","updated_at":"2016-01-13T21:51:48Z","closed_at":null,"body":"Since @scottyab hasn't managed to open an issue for his comment on the original Gist file (what used to be a `LabelledSpinner.java` Gist), for reference purposes, here is what was mentioned::\r\n\r\n>Thanks for this, it works well to show the hint. What would also be great is to show error text like the TextInputLayout. I might need that for current project, if so I'll see about contributing it back."},"comment":{"url":"https://api.github.com/repos/FarbodSalamat-Zadeh/LabelledSpinner/issues/comments/171448477","html_url":"https://github.com/FarbodSalamat-Zadeh/LabelledSpinner/issues/18#issuecomment-171448477","issue_url":"https://api.github.com/repos/FarbodSalamat-Zadeh/LabelledSpinner/issues/18","id":171448477,"user":{"login":"FarbodSalamat-Zadeh","id":12140044,"avatar_url":"https://avatars.githubusercontent.com/u/12140044?v=3","gravatar_id":"","url":"https://api.github.com/users/FarbodSalamat-Zadeh","html_url":"https://github.com/FarbodSalamat-Zadeh","followers_url":"https://api.github.com/users/FarbodSalamat-Zadeh/followers","following_url":"https://api.github.com/users/FarbodSalamat-Zadeh/following{/other_user}","gists_url":"https://api.github.com/users/FarbodSalamat-Zadeh/gists{/gist_id}","starred_url":"https://api.github.com/users/FarbodSalamat-Zadeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FarbodSalamat-Zadeh/subscriptions","organizations_url":"https://api.github.com/users/FarbodSalamat-Zadeh/orgs","repos_url":"https://api.github.com/users/FarbodSalamat-Zadeh/repos","events_url":"https://api.github.com/users/FarbodSalamat-Zadeh/events{/privacy}","received_events_url":"https://api.github.com/users/FarbodSalamat-Zadeh/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T21:51:48Z","updated_at":"2016-01-13T21:51:48Z","body":"Thanks, @scottyab - I should've let you know when I moved this to a full repo.\r\n\r\nFor the error text, I could use something like `setError(...)` , but since this would be with a Spinner, what selections would cause an error, and how would these be specified?\r\n\r\nThis is why I suggested `invalidSelectionIndices`, which would be an integer array of the indices of the items that you want to trigger an error. For example, in the case of my comment above, the 3rd, 5th, 7th and 8th items (because '0' would be the first item) would trigger the error message.\r\n\r\nI hope this answers your question, but let me know what you think..."}}