Welcome!

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

Native Development

Reply
Highlighted
Developer
Posts: 105
Registered: ‎09-06-2013
My Device: Z10
Accepted Solution

CalenderService - Why are recurrent events not stored as one event but as many events as there are recursions?

So i created an event that recurs montly and I made it recur for 5 times. After saying it the event, I went to retrieve a list of events using CalendarService::events() with the necessary parameters.

 

I counted the amount of events present, there were 5 events in total. 

 

I saved them to thier own iCalender files, all 5 had exactly the same data, the start date for all 5 was for the first reccurance. Is this a bug? If 1 event that recurs 5 times is stored as 5 seperate but exactly the same events, I dont see the point of the recurrance parameter in the CalendarEvent object then

Developer
Posts: 105
Registered: ‎09-06-2013
My Device: Z10

Re: CalenderService - Why are recurrent events not stored as one event but as many events as there are recursions?

oh well i just went full retard, forgot to setExpand to false