gapi Active Member Licensed User Longtime User Sep 7, 2012 #1 Hi guys, hello guys, I'm faced with another problem, if a spinner does not load any item to it, when I go to read the selected item, if I empty it returns this message (java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0), how can I prevent it ? tnx
Hi guys, hello guys, I'm faced with another problem, if a spinner does not load any item to it, when I go to read the selected item, if I empty it returns this message (java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0), how can I prevent it ? tnx
K kickaha Well-Known Member Licensed User Longtime User Sep 7, 2012 #2 Check the spinner size to see if it has any items. Upvote 0
gapi Active Member Licensed User Longtime User Sep 7, 2012 #3 solved many thanks @kickaha :icon_clap: Upvote 0
K kickaha Well-Known Member Licensed User Longtime User Sep 8, 2012 #4 If you post up your solution it may help others with the same problem. Upvote 0