FilePicker Library for Android v1.4.0-beta01 Release Notes

Release Date: 2020-05-27 // almost 4 years ago
    • โœ‚ Remove dir paging for android 10 and above.
    • ๐Ÿ‘ Activity Result API support

      final ActivityResultLauncher<Configurations> pickImage = registerForActivityResult(new PickFile(), new ActivityResultCallback<List<MediaFile>>() { @Overridepublic void onActivityResult(List<MediaFile> result) { if (result != null) setMediaFiles(result); elseToast.makeText(MainActivity.this, "Image not selected", Toast.LENGTH_SHORT).show(); } }); pickImage.launch(new Configurations.Builder() ... .build());

Previous changes from v1.4.0-alpha02

    • ๐Ÿ‘ Paging support for files and directory listing

      • Page size and prefetch distance can be customized using follow static variables:

      Configurations.PAGE_SIZE = 120; //Default valueConfigurations.PREFETCH_DISTANCE = 40; //Default value