How to execute a long non UI function without freeze UI?

How to execute a long non UI function without freeze UI?
0.0 0

#1

Hi all,

Is there a way to execute a long running function to load the data asynchronously without blocking the UI thread and then a callback to update the UI?

Thanks in advanced,