Skip to main content

How to capture the LWUIT list item selected event (more than 3 secs)

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2011-07-04

Hi Everybody...............

I am a new to LWUIT Mobile App programming.....I have a query ...Any help will be greatly appreciated..

I am showing a data in a LWUIT List..I want to show the selection of a item distinctly...How to do it?

For example if the user selects an item ( keep on pressing a list item more than 3 Sec ....) ..I have to show an image added with the

list item...ex.Marker ---> to show it is selected for more than 3 secs..

Pls Help.............

Reply viewing options

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

List's have a selection listener you can bind using an addSelectionListener, you can monitor it to see if it hasn't changed for 3 seconds and then show an image.