NurBahnhof
07/14/2021, 11:44 AMif (isLoading)
CircularProgressIndicator()
Then I set isLoading before and after doSomeHeavyStuffs(). But it doesn't work because I suppose the doSomeHeavyStuffs() function is running in the UI thread. Am I supposed to run it in a separate thread? How do I do it in Jetpack Compose?Albert Chang
07/14/2021, 2:20 PMolonho
07/14/2021, 2:25 PMNurBahnhof
07/14/2021, 6:08 PM