Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Developer
Posts: 29
Registered: ‎07-18-2011
My Device: Torch
My Carrier: Developer

How to Display events in the form of list.

Hi am developing an app using calendar application.


I want to display events of a day  in the form of list.

stime=start time(eg 8.00)

etime=end time

As i have five event objects say







So I want to display events in ascending order ,by comparing stime in all events,


so can you please tell me hw to do this or is  der any alternate solution for this.



Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to Display events in the form of list.

I am not sure what you are asking.


If you have the Events in some sort of collection, then you can sort them. 


If you are looking for the usual control that people use for lists, that is ListField.  I'm not sure that is applicable here becuase I think you may want to have separately focusable parts for each Event.  So as far as displaying them is concerned, the answer it, it depends. 


Anyway, my question really is what specifically are you looking for help with?