1

I am using ListField but encouter a problem. How can i view it as i wish (not one by one)?
For instance, there is item1, item2, item3. Can i jump from item1 to item3 directly, ignoring item2 ?

In another way, how to insert a text field (a labelfield, for example) into the ListField items?

like this:

item1
a textlabel
item2
item3
......

let me describe it in another way:

that is, how to insert a text field(a labelfield,for example) into the ListField items. like this: item1 a textlabel item2 item3 ..


let me describe it in another way:

that is, how to insert a text field(a labelfield,for example) into the ListField items. like this: item1
a textlabel item2 item3 ......

casperOne
  • 73,706
  • 19
  • 184
  • 253
blackmarry
  • 25
  • 1
  • 4

1 Answers1

2

ListField is more like presentation/select control. You can implement custom layout/draw logic inside ListField, on example like in rtm4bb:
alt text
(source: googlecode.com)

But I dont know the way to add different controls into ListField. In such case I would recommend to use VerticalFieldManager with added fields.

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Maksym Gontar
  • 22,765
  • 10
  • 78
  • 114
  • hi.i have to create listfield like above image.can u provide any usefull links to create like that.a list row with three textfields.iam new to blackberry.so can u help.. – user1213202 May 23 '12 at 09:34
  • i created the listfield by refering the above link.iam getting the problem that is not able to view the fields in listfield.i raised the question in stackoverflow there i kept my code which i have tried.can u look at this link http://stackoverflow.com/questions/10731554/in-listfield-not-able-to-view-the-fields-in-blackberry and can u help where iam doing the mistake. – user1213202 May 24 '12 at 05:26