title: How to filter a spinner's string-array adapter?
body: <p>There are two spinners , say spinner1 and spinner2, having both string-array adapters as their adapters. The business logic of the application is that spinner2 depends on the selected value of spinner1. So how to filter spinner2's data from the selected item of spinner1 ?
  For example adapter 1 has strin-array :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
      &lt;string-array name="region"&gt; // for the label displayed
          &lt;item&gt;Analamanga&lt;/item&gt;
          &lt;item&gt;Itasy&lt;/item&gt;
      &lt;/string-array&gt;
      &lt;string-array name="region_id"&gt; // this is for the actual value of the selected label
          &lt;item&gt;1&lt;/item&gt;
          &lt;item&gt;2&lt;/item&gt;
      &lt;/string-array&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>Adapter 2 has string-array :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
      &lt;string-array name="district"&gt; // for the label displayed
          &lt;item&gt;Central&lt;/item&gt;
          &lt;item&gt;Boeny&lt;/item&gt;
      &lt;/string-array&gt;
      &lt;string-array name="district_id"&gt; // this is for the actual value of the selected label
          &lt;item&gt;1&lt;/item&gt;
          &lt;item&gt;2&lt;/item&gt;
      &lt;/string-array&gt;
  &lt;/resources&gt;
  </code></pre>