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.

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