开发者

GUI similar to messages view for Blackberry application

开发者 https://www.devze.com 2022-12-13 10:35 出处:网络
I want to display messages from my application exactly in the same way as that of native messaging applicatio开发者_开发知识库n of Blackberry.

I want to display messages from my application exactly in the same way as that of native messaging applicatio开发者_开发知识库n 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.


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?

0

精彩评论

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