Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
mapleleafs90
Posts: 374
Registered: ‎02-12-2011
My Device: Bold 9780

Re: Custom ListField row with images and text

[ Edited ]

Sorry for bump.

II am using the example above and it works fine. I have a double lined row with images. Problem is getSelectedIndex is always returning the row that has current focus?

Maybe I have the wrong idea of what a listfield should do but I want to implement it so the user scrolls to the item they want, then click on it and be able to scroll back up and click the delete button without the selected index changing.

on a 9800 it works fine obviously but on the bold etc no,,

How could I implement this?

 

edit: I realized I could just make my own method using navigation click and creating a private variable, it is all working now.