EditText with spinner
<p>I tryed make edittext with calling spinner. All works but onItemSelected not called in spinner</p>

<pre><code>final String[] items = new String[] {"Item1", "Item2", "Item3"};
        final Spinner spinner = new Spinner(this);
        ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(this,
                    android.R.layout.simple_spinner_item, items);
        adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
        spinner.setAdapter(adapter);

        spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener()
        {


            @Override
            public void onItemSelected(AdapterView&lt;?&gt; arg0, View arg1,
                    int arg2, long arg3) {
                // TODO Auto-generated method stub

            }

            @Override
            public void onNothingSelected(AdapterView&lt;?&gt; arg0) {
                // TODO Auto-generated method stub

            }

        });


        city.setOnFocusChangeListener(new OnFocusChangeListener(){
            public void onFocusChange(View v, boolean hasFocus)
            {
                if (hasFocus)
                {
                    InputMethodManager mgr = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
                    mgr.hideSoftInputFromWindow(city.getWindowToken(), 0);
                    spinner.performClick();
                }

            }
        });
</code></pre>

<p>After call spinner and select item nothing happened. No call of spinner listeners. Any ideas?</p>
