sorry, I reply again, because of something lose.

hello,

I try it, but there is no any response in listview.

When I clicked the item in listview by mouse,

the OnTouchListener, OnItemSelectedListener,OnItemClickListener and
OnTouchListener  of the listview do not response to me.

But when I selected the item in listview by scroll wheel,

the OnItemSelectedListener showed the item was selected.

It confuses me a lots@@

2010/4/25 Reiny Song <[email protected]>

>
>
> 2010/4/25 murali raju <[email protected]>
>
> did u try onItemClickListener
>>
>> On Sun, Apr 25, 2010 at 10:19 AM, Reiny Song <[email protected]>wrote:
>>
>>>
>>> I should provide more detail about what I did,
>>>
>>> my listview contains the MyAdapter( extends simpleAdapter )
>>>
>>> I tried something (the followings are), but nothing helped me.
>>>
>>> 1. I set the listview setClickable,
>>> setFocusableInTouchMode, setLongClickable  = true
>>>
>>> 2. set the convertView in getView at MyAdapter
>>>
>>>     setClickable, setFocusable ,setFocusableInTouchMode and
>>> setLongClickable = true
>>>
>>> But, when I "click" the item in listview, the item is still not
>>> selected.
>>> (but... the item can be selected by scroll wheel...)
>>>
>>>
>>> 2010/4/25 Reiny <[email protected]>
>>>
>>> Dear all,
>>>>
>>>> I have a problem about the the listview.
>>>>
>>>> My activity runs in simulator, and I use mouse to control it.
>>>>
>>>> When I select the item in listview by turning scroll wheel, the
>>>> background of item becomes orange.
>>>>
>>>> But, when I "click" the item in listview, the item does not response
>>>> to my action.
>>>>
>>>> anyone knows the reason? thank you~
>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]<android-developers%[email protected]>
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]<android-developers%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to