Just coming up with method of matching selected spinner value to what is already in a listview.
Here's some pseudo code, or what I'd like to accomplish.
' initial check of the listview (see if it's empty)
Yes - Add selected spinner value to listview
break from subroutine
No (not empty) - loop thru listview and come up with a match?
Yes match - toast msg "already there"
break from loop / break from subroutine
No matches -
Add spinner value to listview
toast msg selected spinner value
I'll work on it tonight.
Here's some pseudo code, or what I'd like to accomplish.
' initial check of the listview (see if it's empty)
Yes - Add selected spinner value to listview
break from subroutine
No (not empty) - loop thru listview and come up with a match?
Yes match - toast msg "already there"
break from loop / break from subroutine
No matches -
Add spinner value to listview
toast msg selected spinner value
I'll work on it tonight.