Join Slack
Powered by
Hi, how can I wrap a blocking method call with an ...
# coroutines
l
louiscad
05/17/2017, 1:25 PM
Hi, how can I wrap a blocking method call with an async one that runs on any non-UI thread and returns the result of the "computation"? Full-disclosure: I'm attempting to call
Camera.open()
in an Android app without causing any lag or ANR
Open in Slack
Previous
Next