Android - How to make a spinner that changes two values

How would I make a spinner that on select changes two values in an Async download task? (The URL and filename) I can only figure out how to change one value in the spinner, is it possible to change two in the same drop down list on select? Do I need a submit button or can I have it start the download process just on select? I think its possible but I've never worked with spinners.

Answers


What if you make a function to take care of changing the values, and then simply make the spinner's onSelect listener call that function?

I don't have too much experience working with spinners myself either, but that's the first way I'd go about trying to do it...


Need Your Help

Finding a specific file on a site using jsoup

java hyperlink zip jsoup

So i'm trying to create a little program that updates a World of Warcraft addon for me. Im using jsoup to get a list of links on a specific site. How do I ignore files/links that don't end in .zip?...

Can COM-object work with files beyond its folder?

c# .net vbscript com

I've got a problem with accessing files from COM object: