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

Select multiple images and videos at same time. #53

Closed
junaidTbox opened this issue May 11, 2017 · 5 comments
Closed

Select multiple images and videos at same time. #53

junaidTbox opened this issue May 11, 2017 · 5 comments
Assignees
Milestone

Comments

@junaidTbox
Copy link

Hi ! i just want to know what changes i have to do to select images and videos at same time. Currently the library is not allowing to select mix types.

@gejiaheng
Copy link
Contributor

@junaidTbox
I found very few use cases that need selecting images and videos at the same time. So I designed it to behave like this. Do you really need it?

@junaidTbox
Copy link
Author

yes , i need to upload multiple upload video and images to server and for user there should be no restriction to select items.

@bafitor
Copy link

bafitor commented May 11, 2017

Hi @gejiaheng

I have the same requirement on my project. It is possible to update the feature to allow selecting videos/images at the same time?

Thanks

@gejiaheng
Copy link
Contributor

@junaidTbox @bafitor
Ok, Matisse will support selecting videos and images at the same time in v0.5.

@gejiaheng
Copy link
Contributor

gejiaheng commented May 15, 2017

@junaidTbox @bafitor
I have added a media type exclusive interface to enable selecting images and videos at the same time. If you want to select images and videos at the same time, just do this:

Matisse.from(MainActivity.this)
    .choose(MimeType.ofAll(), false)
    ....
    .forResult(REQUEST_CODE_CHOOSE);

This behavior is disabled by default.

I'll release a alpha version later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants