This repository has been archived by the owner on Mar 30, 2024. It is now read-only.
Releases: jaiselrahman/FilePicker
Releases · jaiselrahman/FilePicker
Version 1.4.0-beta01
- Remove dir paging for android 10 and above.
- Activity Result API support
final ActivityResultLauncher<Configurations> pickImage = registerForActivityResult(new PickFile(), new ActivityResultCallback<List<MediaFile>>() { @Override public void onActivityResult(List<MediaFile> result) { if (result != null) setMediaFiles(result); else Toast.makeText(MainActivity.this, "Image not selected", Toast.LENGTH_SHORT).show(); } }); pickImage.launch(new Configurations.Builder() ... .build());
Version 1.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 value Configurations.PREFETCH_DISTANCE = 40; //Default value
- Page size and prefetch distance can be customized using follow static variables:
1.4.0-alpha01
- Added selecting files through directories support
- Improved performance
- Added support for more media
- Set custom title
Version 1.3.2
- Fixes file name not displaying in some devices. #45
Version 1.3.1
Fixes #45
Version 1.3.0
- Adds support for Android 10 #40.
Behaviour changes:
MediaFile.getPath()
is deprecated in favour ofMediaFile.getUri()
- Selecting files works only when
setShowFiles(true)
is set which uses Document UI. Hence only following methods works:- setSingleChoiceMode(boolean)
- setSuffixes(String...)
- For files only name, mime, size fields are loaded.
Version 1.2.3
Version 1.2.2
- Fix files not loading when root path is set
Version 1.2.1
- Fixes files not showing #21
- Made
android.permission.CAMERA
as optional permission.
Version 1.2.0
- Update Glide to 4.9.0
- Upgrade to androidx
- Hide files