how to get the information from first spinner to second spinner in android?
<p>i have 2 spinners :</p>

<p>FIRST SPINNER :</p>

<pre><code> array_spinner=new String[3];

        array_spinner[0]="Color";

        array_spinner[1]="Model";

        array_spinner[2]="Price";

Spinner s = (Spinner) findViewById(R.id.select);

ArrayAdapter adapter = new ArrayAdapter(this,android.R.layout.simple_spinner_item, 

array_spinner);

 s.setAdapter(adapter);

SECOND SPINNER :

array_color=new String[3];


        array_color[0]="Black";

        array_color[1]="Pink";

        array_color[2]="Green";

array_model=new String[3];

        array_model[0]="Ipod";

        array_model[1]="mp3";


        array_price=new String[3];

        array_price[0]="1000-2000";

        array_price[1]="3000-4000";


Spinner val=(Spinner)findViewById(R.id.select_val);


       ArrayAdapter adapter1 = new ArrayAdapter(this,

       android.R.layout.simple_spinner_item, array_color);


       val.setAdapter(adapter1);
</code></pre>

<p>When the user clicks Model in the First Spinner , immediately the Second Spinner should display the models which are in the array_model ... Please Help !!!!</p>
