ListView listener problems

by tatebn » Mon, 30 Aug 2010 22:53:09 GMT


Sponsored Links
 I'm using a ListAction and I'm having some trouble with my listeners.
I'm using onListItemClick to catch any item clicks, which works fine
unless I add an OnLongClickListener to the list items.  In that case
the long click works but the short click doesn't register.  I've tried
adding an OnClickListener to the items individually as I had done with
the long click.  This works, but the regular click fires every time
the long click does.  How do I keep these things separate?

Thanks,
Brandon

--



ListView listener problems

by William Ferguson » Tue, 31 Aug 2010 06:27:39 GMT


 Return false from onLongClick if you have handled the click as a long
click.




--


Sponsored Links


Other Threads

1. colud i join Android Developers group?

colud i join Android Developers  group?

-- 

2. Getting access to audio data during a phone call

Dear Android experts,

I'm looking for a way to access the audio data during a phone call
(either on sending or receiving side).
Is there an API at JAVA level that allows do that? (or may be some
future NDK extension?)

Guildazz


-- 

3. Bluetooth connection : pairing before connecting ?

4. Can anyone tell me if Donut support WPA2-EAP ?

5. build camera app from platform/packages/apps/Camera.git

6. Layout problems when setting windowIsFloating to true

7. Store contact name in emulator phonebook.