Copy to a file

Report a typo

Fill in the missing method to copy data from a ContentResolver to a file.

contentResolver._______________(uri)?.use { input ->
    file.outputStream().use { output ->
        input.copyTo(output)
    }
}
Enter a short text
___

Create a free account to access the full topic