iOSDev
iOSDev

Reputation: 3617

GUI similar to messages view for Blackberry application

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.

Upvotes: 0

Views: 463

Answers (1)

Maksym Gontar
Maksym Gontar

Reputation: 22775

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?

Upvotes: 1

Related Questions