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

Version 1.4.0-beta01

Pre-release
Pre-release
Compare
Choose a tag to compare
@jaiselrahman jaiselrahman released this 27 May 06:57
  • 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());