List of all Iphone and Blackberry Development codes in a one click Iphone,objective C,xcode,blackberry Development,iOS Development

Thursday, June 27, 2013

Rich List in Blackberry

Use a rich list to display a list of items that contain an optional image on the left, a list of labels beside the image and an optional description below the image and labels.
 
Manager mainManager = getMainManager();
RichList list = new RichList(mainManager, true, 2, 1);
Bitmap bitmap1 = Bitmap.getBitmapResource("9500.png");
Bitmap bitmap2 = Bitmap.getBitmapResource("9000.png");
list.add(new Object[] {bitmap1, "Device 1","BlackBerry 9500", 
                                   "Description of Device 1."});
list.add(new Object[] {bitmap2, "Device 2","BlackBerry 9000", 
                                   "Description of Device 2."});

No comments:

Post a Comment