title: How to update adapter?
body: <p>I have several spinners in a class.
  For the first spinner I have set of data.
  Other spiners will download data from server according to the selection of the fist spinner.
  However, after downloading data, it does not update the spinner adapters.</p>
  
  <p>Adapter for the second spinner:</p>
  
  <pre><code>sectionField = new String[] {"Error"};
              adapterSection = new ArrayAdapter&lt;String&gt;(
                      this, android.R.layout.simple_spinner_item, sectionField);
              adapterSection
                      .setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
              section.setAdapter(adapterSection);
  </code></pre>
  
  <p>Code sample from fisrts spinner <code>onItemSelected</code>, which I believe should update the adapter:</p>
  
  <pre><code>sectionField = new String[data.length()];
  sectionField = data;
  section.setVisibility(View.VISIBLE);
  adapterSection.notifyDataSetChanged();
  </code></pre>