Is it possible to customize Objectfieldlist according to following design?
----------------------------
ROW#1 ROW NAME
row details
---------------------------
ROW#2 ROW NAME
row details
---------------------------
ROW#3 ROW NAME
row details
---------------------------
Row Name will be in bigger font than row details
Basically I need 2 text rows in a Row of ObjectListField.**OR any other method or suggestion as I might be wrong,**pls guide me its urgent and am some what new to Blackberry Development.
ObjectListFieldisn’t really the right way to do this – it’s really designed as a quick version ofListFieldfor those times when you just need a simple list of strings.You should extend
ListFielditself, and provide your own implementation ofListFieldCallbackthat renders your list based on your data model. UseListField.setCallbackto set your callback.ListFieldCallback.drawListRowgives you aGraphicscontext, so you can draw whatever you want, including multiple lines of text. Also make sure to callListField.setRowHeighton your listfield to make the rows high enough for 2 lines of text (the default height is the font height, so you’d only have room for 1 line of text).Sample code is something like (this is not complete and will not compile without some other code):