title: How can i use a switch with a spinner?
body: <p>so i started android programming like a month ago, and i've got a probleme today.</p>
  
  <p>The thing i want to do is : From a Item in the Spinner, when i select it there is a Text View changing on the back.</p>
  
  <pre><code>    spin.setAdapter(adapter_city);
      spin.setOnItemClickListener(this);
  }
  @Override
  public void onItemClick(AdapterView&lt;?&gt; parent, View v, int position, long id) {
  
      switch(v.getId()){
  
          case R.string.Paris : description.setText("blah blah");
      }
  
  }
  </code></pre>
  
  <p>and i would like the description fit with the resource.</p>
  
  <p>Paris is in a xml called "cities", it's a value xml.
  Thank you.</p>