Well, I’m facing the following situation: I get from my database, data like this:
AAAAAAAA, 2, XXXXXXXXXX
BBBBBBBB, 8, ZZZZZZZZZZZ
I have a Spinner where I have to put just one info, like AAAAAAAA.
What I need is, when I choose an item from the spinner, it must store its relative data to variables, I mean:
If I choose BBBBBBBB, all the rest (8 and ZZZZZZZZZZ) must be put into variables. The same thing is when I choose another item from the Spinner.
I already know that I must have 2 lists. But how to retrieve all data from the second list, based on my choose on the first list (Spinner)?