Skip to main content

Long click on list

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
3 replies [Last post]
bjcoredev
Offline
Joined: 2008-06-13

Hi

How to detect a long click on a item in a list ?

I.e the user presses pointer on a item and releases pointer on the same item after a long time (1000 ms) ?

Thx

PS: using LWUIT 1.5

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vprise
Offline
Joined: 2003-11-07

You need to derive list and override longPointerPress() to get that event.

bjcoredev
Offline
Joined: 2008-06-13

Works fine

LWUIT rocks

bjcoredev
Offline
Joined: 2008-06-13

Works fine

LWUIT rocks