setImageUri

fun setImageUri(uri: Uri, resetMatrices: Boolean = true)

Sets the image to display from a content URI, decoded by regions.

Parameters

uri

URI of the encoded image.

resetMatrices

true to reset transformation matrices, false otherwise.

Throws

if the URI cannot be read or its format is not supported.