Issue
Here is the issue
I am making the file and then adding to google drive but it says inappropriate blocking method call.

Solution
You should run long running task in another Thread or use Coroutine to execute blocking method.
by using Coroutine it will be sth like this:
withContext(Dispatchers.IO) {
launch{
mfile.execute();
}
}
Answered By - Sina Dalvand
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.