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
Developer
Posts: 660
Registered: ‎10-08-2009
My Device: Bold 9900
My Carrier: Telus

Calendar operations lag/delay

[ Edited ]

Hello, I am seeing UI lag/delay on calendar operations I perform. How would one process calendar operations asynchronously so that it doesn't hold up the UI rendering?

----------------------------------------------------------
Twitter: @gyubok
Highlighted
Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Calendar operations lag/delay

[ Edited ]

If you don't want to do anything too complicated and just run a process in another thread then QtConcurrent is probably the easiest way.

 

Take a read of this for example code and other options as well...

 

http://developer.blackberry.com/native/reference/cascades/thread-basics.html

 

 


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.