【文件属性】:
文件名称:MaterialFilePicker:自2015年以来挑选文件
文件大小:370KB
文件格式:ZIP
更新时间:2021-01-31 06:43:44
android material android-library picker file-picker
物料文件选取器
适用于Android的材质文件选择器库
使用
在应用程序模块gradle文件中添加存储库URL和依赖项:
repositories {
jcenter()
}
dependencies {
implementation ' com.nbsp:materialfilepicker:1.9.1 '
}
打开文件选择器:
MaterialFilePicker()
// Pass a source of context. Can be:
// .withActivity(Activity activity)
// .withFragment(Fragment fragment)
// .withSupportFragment(androidx.fragment.app.Fragment fragment)
.withActivity( this )
// With cross icon on the right side of toolbar for closing picker stra