You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
coroutineScope.launch {
//var image: ImageBitmap? by remember { mutableStateOf(null) }
val result = picker.pickImage(MediaSource.CAMERA)
try {
result.toImageBitmap()
} catch (e: Exception) {
}
}
java.lang.ClassCastException: dev.icerock.moko.media.picker.MediaPickerFragment cannot be cast to dev.icerock.moko.media.picker.ImagePickerFragment
at dev.icerock.moko.media.picker.MediaPickerControllerImpl.pickImage(MediaPickerControllerImpl.kt:62)
at dev.icerock.moko.media.picker.MediaPickerControllerImpl.pickImage(MediaPickerControllerImpl.kt:44)
The text was updated successfully, but these errors were encountered:
umesh0492
changed the title
java.lang.ClassCastException
java.lang.ClassCastException ( MediaPickerFragment cannot be cast to ImagePickerFragment)
Nov 6, 2023
The text was updated successfully, but these errors were encountered: