Controlling a single spinner from two different spinners
<p>I have spinners with different names in each one. I want them to affect what is shown in a third spinner.</p>

<p>eg if I select "Numbers" in the first one and not touch the second spinner the third spinner will show me a list of numbers. If I select Names in the second spinner and not touch the first spinner it will show a list of names in the third spinner</p>

<p>Each of the first spinners has the following method. One for each spinner</p>

<pre><code>spinner.setOnItemSelectedListener(new OnItemSelectedListener() {
    @Override
    public void onItemSelected(AdapterView&lt;?&gt; parentView, View selectedItemView, int position, long id) {
        // your code here
    }

    @Override
    public void onNothingSelected(AdapterView&lt;?&gt; parentView) {
        // your code here
    }

});
</code></pre>

<p>They call a method to populate the third. Each one also resets the other spinner to a value that is not used "Select something here" header</p>

<p>Trouble is the third spinner is not being populated correctly when I select anything from the two spinners</p>

<p>Any Help would be great
Thanks</p>
