Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • ok, great, I've changed <NoDefaultSpinner in my xml with <com.example.life.NoDefaultSpinner, now it works, but with one exeption, reacts only after the second click on the element already selected. If I click on an element that is not selected already everithing is fine. Maybe it is so because I use a counter to check if the element selected by user or not, like so: i=0; ... public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { CharSequence t2 = (CharSequence) parent.getItemAtPosition(position); if(i>0){ ... } if(i==0) i++; Commented Jan 8, 2013 at 6:39