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
filiussoft
Posts: 106
Registered: ‎06-18-2009
My Device: Bold

Re: Json data into Blackberry Listfields

Do you actually know that your list contains items?

 

How about just adding some test data to the list so that you can test if you drawListRow method gets actually called.

 

...
shoppingList.addElement(new ShoppingListItem(...));
shoppingList.addElement(new ShoppingListItem(...));
shoppingList.addElement(new ShoppingListItem(...));

shoppingListField = new ListField(shoppingList.size());
...

 

----
If this helped you, press the thumbs up button (on the far right - '+' thumb icon)
If this post solved the issue, click "Accept as Solution"
Please use plain text.
Developer
raquibulbari
Posts: 137
Registered: ‎09-30-2009
My Device: Torch 9800

Re: Json data into Blackberry Listfields

first create a listfield demo application and try to understand. You can search in the forums or google for example then try to integrate it with your system

----------------------
Press like if you find a message helpful
---------
Please use plain text.