Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

Releases: jaiselrahman/FilePicker

Version 1.4.0-beta01

27 May 06:57
Compare
Choose a tag to compare
Version 1.4.0-beta01 Pre-release
Pre-release
  • 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

19 May 08:44
Compare
Choose a tag to compare
Version 1.4.0-alpha02 Pre-release
Pre-release
  • 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

1.4.0-alpha01

18 May 05:32
Compare
Choose a tag to compare
1.4.0-alpha01 Pre-release
Pre-release
  • Added selecting files through directories support
  • Improved performance
  • Added support for more media
  • Set custom title

Version 1.3.2

18 Dec 10:29
b11663e
Compare
Choose a tag to compare
  • Fixes file name not displaying in some devices. #45

Version 1.3.1

28 Nov 11:40
Compare
Choose a tag to compare

Version 1.3.0

19 Nov 08:18
Compare
Choose a tag to compare
  • Adds support for Android 10 #40.

Behaviour changes:

  • MediaFile.getPath() is deprecated in favour of MediaFile.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

06 Oct 10:54
Compare
Choose a tag to compare
  • Fixed singleChoiceMode to work with Image/Video capture #39
  • Fixed DividerBehavior #34
  • Fixed Permission issues #28 #30

Version 1.2.2

04 Apr 16:00
Compare
Choose a tag to compare
  • Fix files not loading when root path is set

Version 1.2.1

27 Feb 17:06
Compare
Choose a tag to compare
  • Fixes files not showing #21
  • Madeandroid.permission.CAMERA as optional permission.

Version 1.2.0

24 Feb 07:55
Compare
Choose a tag to compare
  • Update Glide to 4.9.0
  • Upgrade to androidx
  • Hide files