Documentfile
Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |
---|---|---|---|---|
April 23, 2025 | 1.0.1 | 1.1.0-rc01 | - | - |
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-rc01
April 23, 2025
androidx.documentfile:documentfile:1.1.0-rc01
is released. Version 1.1.0-rc01 contains these commits.
API Changes
- Projects released with Kotlin 2.0 require KGP 2.0.0 or newer to be consumed. (Idb6b5)
- Removed android specific parameters from
ModalBottomSheetProperties
. (Iab97f, b/362539765) - Add
NotesGroup
APIs in Notes schema (I60481) - Added the ability to set preferred frame rate or frame rate category on the Composable should be rendered at (Ie5201)
- Introduce overloading functions for drag handle size defaults (I0ed0d)
- Add
GetNotes
andUpdateNotes
to the note schema (Ib862d)
Bug Fixes
- Prevent unnecessary recomposition during predictive back. (Iecd6d)
- Updated
DateInputTextField
implementation to address an issue where the input field did not reflect programmatically set date (I6c8d1, b/401143451)
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)