黑莓-如何将字段添加到列表字段? [英] Blackberry - how to add fields to listfield?
问题描述
我正在使用ListField,但遇到了问题.如何按我的意愿(不是一个接一个地)查看它?
例如,有item1,item2,item3.我可以不理会item2而直接从item1跳到item3吗?
以另一种方式,如何将文本字段(例如,labelfield)插入到ListField项目中?
像这样:
item1
文字标签
item2
item3
......
让我用另一种方式描述它:
就是说,如何在ListField项目中插入文本字段(例如,labelfield).像这样:item1 一个textlabel item2 item3 ..
让我用另一种方式描述它:
就是说,如何在ListField项目中插入文本字段(例如,labelfield).
像这样:item1
文字标签
item2
项目3
......
ListField更像是演示文稿/选择控件.您可以在ListField中实现自定义布局/绘制逻辑,例如 rtm4bb 中的示例:
(来源: googlecode.com ) >
但是我不知道将不同的控件添加到ListField中的方法.在这种情况下,我建议将VerticalFieldManager与添加的字段一起使用.
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
......
ListField is more like presentation/select control. You can implement custom layout/draw logic inside ListField, on example like in rtm4bb:
(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.
这篇关于黑莓-如何将字段添加到列表字段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!