[英]Best approach to display large amount of text on Blackberry
I have a list of store addresses that I want to display (about 100). 我有一个要显示的商店地址列表(大约100个)。 The data is being read from a database.
正在从数据库中读取数据。
Each address will look like this: 每个地址如下所示:
Main Store
总店
29 Main Street, City, State 州立城市大街29号
Tel. 电话 (123) 456-7890
(123)456-7890
Fax. 传真。 (123) 456-7890
(123)456-7890
The name of the store will be bold and slighter larger font than the rest of the address. 商店的名称将为粗体,并且字体比地址的其余部分大。
Is my only option to read through the table, and for each record, add a new Textfield or LabelField to a VerticalManager? 我是通读表格的唯一选择,对于每条记录,将新的Textfield或LabelField添加到VerticalManager吗?
Or is there a better approach to handle large amounts of text that still require some formatting? 还是有更好的方法来处理仍需要某种格式的大量文本?
Looked at RichTextField, but it doesnt have any kind of appendText method, just to setText 看了RichTextField,但是它没有任何类型的appendText方法,仅用于setText
为此,我将使用ListField,或者如果您希望正常隐藏一些数据,则可以使用TreeField通过用户操作撤消。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.