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
PIN: N/A
Carrier: AT&T
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem in implementing list

Please Login to Remove!

Hi..

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..
Offline  
Old 02-22-2010, 02:22 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Apr 2009
Model: 8800
PIN: N/A
Carrier: Airtel
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Offline  
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

BRAND NEW Milwaukee Tools # 49-77-2002 Thermocouple (K-type)
$8.75
BRAND NEW Milwaukee Tools # 49-77-2002 Thermocouple (K-type) pictureAllen Bradley, SLC 500, 1746-NT4, Thermocouple/mV Input, 2007 Date, Nice Shape
$219.95
Allen Bradley, SLC 500, 1746-NT4, Thermocouple/mV Input, 2007 Date, Nice Shape pictureVulcan Hart 412788-1 T46 Thermocouple
$29.31
Vulcan Hart 412788-1 T46 Thermocouple picture1M K Type Thermocouple Probe Sensor For Digital Thermometer TB
$1.16
1M K Type Thermocouple Probe Sensor For Digital Thermometer  TB pictureATKINS WALKER CLEAN AIR SPECIALIST THERMOCOUPLE THERMOMETER WITH PROBE
$24.99
ATKINS WALKER CLEAN AIR SPECIALIST THERMOCOUPLE THERMOMETER WITH PROBE picture






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