开发者

Blackberry - how to add fields to listfield?

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 examp开发者_JAVA百科le) 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 ......


ListField is more like presentation/select control. You can implement custom layout/draw logic inside ListField, on example like in rtm4bb:

Blackberry - how to add fields to listfield?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜