Hi, I am working on List. I have writen code to remove one element from the list and its working fine.
Before removing the element. e.g I have a list of Feeds which consists of elements Feed 1, Feed 2, Feed 3. It is displaying on the screen as following. Before deleting the element there must be option to select one element that user want to delete.
My problem is that how can I hightlight that user selected element for deletion.
actually i can't because i wrote my own version of it. it's not very hard to handle, though.
take a look at
net.rim.device.api.ui.component.ObjectListField
create it, put your choices into an object[] and use set.
if you want to delete objects on click overwrite navigationclick and call delete on the selected index.