Documentfile
Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |
---|---|---|---|---|
April 9, 2025 | 1.0.1 | - | 1.1.0-beta01 | - |
Declaring dependencies
To add a dependency on DocumentFile, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.
Add the dependencies for the artifacts you need in the build.gradle
file for
your app or module:
Groovy
dependencies { implementation "androidx.documentfile:documentfile:1.0.1" }
Kotlin
dependencies { implementation("androidx.documentfile:documentfile:1.0.1") }
Feedback
Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.
See the Issue Tracker documentation for more information.
Version 1.1.0
Version 1.1.0-beta01
April 9, 2025
androidx.documentfile:documentfile:1.1.0-beta01
is released. Version 1.1.0-beta01 contains these commits.
Bug Fixes
- This library now uses JSpecify nullness annotations, which are type-use. Kotlin developers should use the following compiler arguments to enforce correct usage:
-Xjspecify-annotations=strict
,-Xtype-enhancement-improvements-strict-mode
. b/326456246 - Fix documentation issues in documentfile b/337250687
Version 1.1.0-alpha01
August 18, 2021
androidx.documentfile:documentfile:1.1.0-alpha01
is released. Version 1.1.0-alpha01 contains these commits.
Bug Fixes
- Fix ClassVerificationFailures for
DocumentFile
. (b/188452767)
Version 1.0.1
Version 1.0.1
February 25, 2019
androidx.documentfile:documentfile 1.0.1
is released.
Bug fixes
- Fixed bug where deep tree URIs were truncated by
Document.fromUri
(b/37081745)