GUI 类似于 Blackberry 应用程序的消息视图

发布于 2024-08-14 05:49:22 字数 111 浏览 5 评论 0原文

我想以与黑莓本机消息应用程序完全相同的方式显示来自我的应用程序的消息。

我如何在列表字段中实现它?另外,我想添加日期标题,该标题将按照收到的顺序显示消息。

请帮忙。 提前致谢。

I want to display messages from my application exactly in the same way as that of native messaging application of Blackberry.

How do I achieve it in listfield? Also I want to add date headers that will display messages in the order in which they are received.

Please help.
Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

私藏温柔 2024-08-21 05:49:22

如果您希望按日期或发件人等对标头进行分组,则认为最好将 VerticalFieldManager 与以下内容一起使用:

LabelField(标头 A)
列表字段(列表 A)
LabelField(标头 B)
列表字段(列表 B)
...
LabelField(标题 Z)
ListField(列表 Z)

并在分组时动态生成这些字段。
另外,在 listField 构造函数中实现项目(和 listField 行)排序。

有关复杂 ListField 扩展的示例,请参阅如何在黑莓中自定义列表字段?

If you want header grouping by date or sender etc think it's better to use VerticalFieldManager with:

LabelField (header A)
ListField (list A)
LabelField (header B)
ListField (list B)
...
LabelField (header Z)
ListField (list Z)

and dynamically generate those fields on grouping.
also, implement items (and listField rows) sorting in listField constructor.

For example of complex ListField extention see How to customize list field in blackberry?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文