jaiselrahman / FilePicker

FilePicker library for Android
Apache License 2.0
238 stars 70 forks source link

Not Showing all the PDF #60

Open MustafaDev-shaikh opened 4 years ago

MustafaDev-shaikh commented 4 years ago

Its not showing all the PDF file when giving suffix to "pdf" . How to solve this to get all the pdf file in internal storage

jaiselrahman commented 4 years ago

Can you show the Configurations used. Also try out the new release to see if it fixes the issue.

implementation 'com.github.jaiselrahman:FilePicker:1.4.0-alpha01'
MustafaDev-shaikh commented 4 years ago

this is my code I have used to pick pdf file

`Intent intent = new Intent(this, FilePickerActivity.class);
        intent.putExtra(FilePickerActivity.CONFIGS, new Configurations.Builder()
                .setCheckPermission(true)
                .setSuffixes("pdf")
                .enableImageCapture(false)
                .setShowFiles(true)
                .setShowImages(false)
                .setShowVideos(false)
                .setSelectedMediaFiles(mediaFiles)
                .setSkipZeroSizeFiles(true)
                .setMaxSelection(1)
                .build());
        startActivityForResult(intent,FILE_REQUEST_CODE);`