jaiselrahman / FilePicker

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

Nothing is shown #63

Open pedrotlf opened 4 years ago

pedrotlf commented 4 years ago

When I start the activity nothing is loaded. Images, documents, nothing..

I'm currently testing at an Android 10 device (Moto G8 Power) using 1.4.0-alpha02 (tested with 1.4.0-alpha01 as well). If I try to use 1.3.0, 1.3.1 or 1.3.2 I get a black screen and lots of lags :/ Below those versions the app simply crashes.

jaiselrahman commented 4 years ago

Can you provide the configuration used?

pedrotlf commented 4 years ago

Intent intent = new Intent(this, FilePickerActivity.class);

intent.putExtra(FilePickerActivity.CONFIGS, new Configurations.Builder() .setCheckPermission(true) .setShowImages(true) .setShowFiles(false) .enableImageCapture(true) .setMaxSelection(1) .setSkipZeroSizeFiles(true) .build());

startActivityForResult(intent, COD_REQUEST);

jaiselrahman commented 4 years ago

I could not reproduce the issue, can you provide more context. Can you try it with setIgnoreNoMedia(false) and setIgnoreHiddenFile(false).

MustafaDev-shaikh commented 4 years ago

It's Working @jaiselrahman @meumeunome but it's lagging