FilePicker icon indicating copy to clipboard operation
FilePicker copied to clipboard

Not Showing all the PDF

Open MustafaDev-shaikh opened this issue 5 years ago • 2 comments

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

MustafaDev-shaikh avatar Apr 08 '20 13:04 MustafaDev-shaikh

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'

jaiselrahman avatar May 18 '20 05:05 jaiselrahman

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);`

MustafaDev-shaikh avatar May 18 '20 06:05 MustafaDev-shaikh