scrollable menu
Hi folks,
I am working on a project where I have some data stored in recordstore. I need to display them as a scrollable menu(like contacts on real phone). Obviously these menu items need to listen for action performed.
What would be the easiest way to implement that kind of menu?
Cheers
# 1
If you want something simple and quick and easy to implement, you could try using an IMPLICIT list; it already has inbuilt functionality to move through the list, highlight currently selected item, programmatically set selected item, get the selected index; also you can set one image for the item. I'm using this for a To-Do list I've made for my phone ( I've got a Nokia 3120, an old MIDP 1.0 phone that didn't have a To-Do list )
Otherwise, if you need different behaviour, you could try implementing your own CustomItem. Never done that myself though, seemed too complicated :D