Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
Coroutine support.tar.gz | 2023-02-16 | 12.9 MB | |
Coroutine support.zip | 2023-02-16 | 13.0 MB | |
README.md | 2023-02-16 | 723 Bytes | |
Totals: 3 Items | 25.9 MB | 0 |
New : Arrow shape Change : (Breaking Change) minSdkVersion changed to 21 Change : (Breaking Change) Shape names are no longer UPPERCASE New : Suspending functions for saving images: saveAsFile(String[, SaveSettings]) and saveAsBitmap([SaveSettings])
:::kotlin
// Please note that if you call this from a fragment, you should call
// 'viewLifecycleOwner.lifecycleScope.launch' instead.
lifecycleScope.launch {
val result = photoEditor.saveAsFile(filePath)
if (result is SaveFileResult.Success) {
showSnackbar("Image saved!")
} else {
showSnackbar("Couldn't save image")
}
}
Fixed : [#374] IndexOutOfBoundsException when saving bitmap