[android-developers] Re: spinner question: how to detect the selection of an already selected item?

2010-04-19 Thread Will
Hi, Did you tried : onClick(DialogInterface dialog, int which) I think you can update your list adapter according to the wich parameter. -- Will On 19 avr, 03:45, greg sep...@eduneer.com wrote: I have an activity with a ListView check list and a spinner that controls the sort order of the

[android-developers] Re: spinner question: how to detect the selection of an already selected item?

2010-04-19 Thread greg
Thanks for the suggestions Will and TreKing. I haven't tried the DialogInterface onClick handler yet. I thought OnItemLongClickListener might be a work around, but the following onItemLongClick handler never gets called. Spinner s2 = (Spinner) findViewById(R.id.spinner_order);