BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 02-17-2010, 05:00 AM   #1 (permalink)
New Member
Join Date: Feb 2010
Model: 8900
Carrier: AT&T
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem in implementing list

Please Login to Remove!


I have created a list.. and now i want that when i click on an item of the list, it should display the details of that item in new screen..

what should i use ?? I have used the listfield to make the list.. but i don't know what to do next to display the details of the items..
Old 02-22-2010, 02:22 AM   #2 (permalink)
Knows Where the Search Button Is
Join Date: Apr 2009
Model: 8800
Carrier: Airtel
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts

You need to create your own derived class from ListField/ObjectListField class and override at minimum the keyChar & navigationClick methods of the same.

For list item descriptions, You need to implement your own screen class(by inheriting MainScreen or any Screen subclass) for the list item details display and the screen should be pushed when a particular list item is selected. This can be done by calling pushScreen for a particular description screen from the overridden navigationClick or keyChar method of your derived listField class.

Last edited by pooja.a.maheshwari : 02-22-2010 at 02:24 AM.
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Copyright 2004-2014
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.