spinner with empty selection
<p>I'm trying to create a spinner with empty selection, but actualy it displays the first item from the choices of spinner. If I add null value to my string, which is the source of choices in spinner, then after opening spinner that empty row is displayed. How should I do it? Here's code I'm using:</p>

<pre><code>      String[] ch= {"Session1","Session2","Session3"};
  Spinner sp;
  TextView  sess_name;
       sp= (Spinner)findViewById(R.id.spinner1);
       sess_name=(TextView)findViewById(R.id.sessname);
      ArrayAdapter&lt;String&gt; adapter=new ArrayAdapter&lt;String&gt;(this,android.R.layout.simple_spinner_item,ch);
       sp.setAdapter(adapter);

    adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);

     sp.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener()
    {
    @Override
    public void onItemSelected(AdapterView&lt;?&gt; arg0, View arg1,
    int arg2, long arg3)
    {
    int index = arg0.getSelectedItemPosition();
    sess_name.setText(ch[index]);

     Toast.makeText(getBaseContext(),
    "You have selected item : " + ch[index],
    Toast.LENGTH_SHORT).show();
    }
</code></pre>
