ya, thank you for that
On Sun, Mar 14, 2010 at 12:18 PM, TreKing wrote:
> On Sat, Mar 13, 2010 at 11:07 PM, murali raju wrote:
>
>> use spinner.setOnItemClickListener(new OnItemClickListener()
>>
>
> No, this won't work, read the documentation: "A spinner does not support
> item click events."
On Sat, Mar 13, 2010 at 11:07 PM, murali raju wrote:
> use spinner.setOnItemClickListener(new OnItemClickListener()
>
No, this won't work, read the documentation: "A spinner does not support
item click events."
You want setOnItemSelectedListener().
On Sat, Mar 13, 2010 at 11:51 PM, Nitesh Mehta
Well i already know how to get the item and which index. My problem is that
the index is same irrespective of what was selected in spinner 1. How do i
know whether spinner 1 was selected or spinner 2?
Thanks!
On Sat, Mar 13, 2010 at 10:07 PM, murali raju wrote:
> Hi,
>
> use spinner.setOnItemCl
Hi,
use spinner.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView parent, View v, int
position,
long id) {
}
});
here the argument position gives the selected item in the
spinner.
On Fri, Ma
On Thu, Mar 11, 2010 at 10:13 PM, Nitesh wrote:
> Hi all,
>
Sup?
> I wanted to know as to how to retrieve the item id
> of the selected item from the spinner when the spinner is re-
> populated.
>
Item ID? Do you mean the index?
> For example,
> I created 2 spinners, if you selected item 0
5 matches
Mail list logo