Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use different tag for ImagePickerFragment and MediaPickerFragment #76

Merged
merged 4 commits into from
Apr 11, 2024

Conversation

tindy2013
Copy link

@tindy2013 tindy2013 commented Mar 14, 2024

... so that you can do picker.pickMedia() and picker.pickImage(MediaSource.GALLERY) under the same activity in Android, without failing with java.lang.ClassCastException: dev.icerock.moko.media.picker.ImagePickerFragment cannot be cast to dev.icerock.moko.media.picker.MediaPickerFragment. (Fixes #72)

@Alex009 Alex009 changed the base branch from master to develop March 24, 2024 16:16
@Alex009 Alex009 added this to the 0.11.1 milestone Mar 24, 2024
@Alex009 Alex009 merged commit cdb8271 into icerockdev:develop Apr 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

java.lang.ClassCastException ( MediaPickerFragment cannot be cast to ImagePickerFragment)
2 participants