DroidNinja/Android-FilePicker

How do I list only gifs?

d0ughnut opened this issue · 1 comments

Hello,
I'd like to limit my list of files to gifs to pick.
I've tried the following methods, but they don't give me the results I expect.

// Only enable the gif flag.
FilePickerBuilder.getInstance()
                        .showFolderView(true)
                        .enableSelectAll(false)
                        .enableImagePicker(false)
                        .showGifs(true)
                        .enableDocSupport(false)
                        .enableVideoPicker(false)
                        .enableCameraSupport(false)
                        .withOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED)
                        .pickPhoto(this, 0)

Is there a feasible way to do this?

showGifs is only for allowing gifs to show or not alongside other images. No support for gifs only for now.