All Projects → zippo88888888 → ZFileManager

zippo88888888 / ZFileManager

Licence: other
Android 文件操作

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to ZFileManager

Gofi
Gofi (gəʊfi:) means Go file indexer.
Stars: ✭ 291 (+134.68%)
Mutual labels:  filemanager, file
Filegator
Powerful Multi-User File Manager
Stars: ✭ 587 (+373.39%)
Mutual labels:  filemanager, file
Vidir
edit directory in $EDITOR (better than vim . with netrw)
Stars: ✭ 129 (+4.03%)
Mutual labels:  filemanager, file
atomically
Write files atomically and reliably.
Stars: ✭ 136 (+9.68%)
Mutual labels:  file
fsify
Convert an array of objects into a persistent or temporary directory structure.
Stars: ✭ 24 (-80.65%)
Mutual labels:  file
mat-file-upload
A simple & configurable Angular Material file upload component.
Stars: ✭ 14 (-88.71%)
Mutual labels:  file
cache
🥌 Deno cache library
Stars: ✭ 38 (-69.35%)
Mutual labels:  file
StoreAway
Store away files to destination by filetype.
Stars: ✭ 13 (-89.52%)
Mutual labels:  file
gh fsync
🔄 GitHub action to sync files across repos in GitHub
Stars: ✭ 17 (-86.29%)
Mutual labels:  file
cypress-upload-file-post-form
Solution for two Cypress testing use-cases I came across with: perform a direct http FORM request to the server containing a file and other parameters and upload a file into a form before submission
Stars: ✭ 59 (-52.42%)
Mutual labels:  file
github-diff-explorer
The GitHub Diff Explorer is a Chrome/Firefox extension that generates a seamless file explorer with a minimalist focus.
Stars: ✭ 27 (-78.23%)
Mutual labels:  file
util
封装了一些Java常用的功能
Stars: ✭ 19 (-84.68%)
Mutual labels:  file
ElegantData
像操作Room一样操作 SharedPreferences 和 File 文件.
Stars: ✭ 18 (-85.48%)
Mutual labels:  file
ngx-dropzone
A highly configurable dropzone component for Angular.
Stars: ✭ 123 (-0.81%)
Mutual labels:  file
react-file-input-previews-base64
This package provides an easy to use, ready to go and customizable wrapper around file input, with option for image previews and returning file as base64 string.
Stars: ✭ 15 (-87.9%)
Mutual labels:  file
spring-file-poller
A simple spring boot application that demonstrates file polling using the Spring Integration DSL
Stars: ✭ 25 (-79.84%)
Mutual labels:  file
MagicaVoxel File Writer
MagicaVoxel File Writer dependency free cpp class
Stars: ✭ 26 (-79.03%)
Mutual labels:  file
Waarp-All
This version is a major version for all Waarp Modules, previously being split.
Stars: ✭ 18 (-85.48%)
Mutual labels:  file
filecloud
仿百度网盘,个人云盘。 file cloud
Stars: ✭ 130 (+4.84%)
Mutual labels:  file
loadkit
Java 资源加载器,充分拓展ClassLoader#getResources(name)的能力,实现递归加载,支持普通风格 / 包名风格 / ANT风格 / 正则风格路径的资源加载同时支持自定义过滤器,通常作为框架的基础类库。
Stars: ✭ 39 (-68.55%)
Mutual labels:  file

Travis Travis Travis

特点

1. 默认支持 音频,视频,图片,txt,zip,word,excel,ppt,pdf 9种文件

2. 支持音频、视频播放,图片查看,zip解压,文件重命名、复制、移动、删除、查看详情

3. 支持查看指定文件类型,支持文件类型拓展,支持嵌套在Fragment中使用

4. 支持多选,数量、文件大小限制、实时排序、指定文件路径访问

5. 支持QQ、微信文件选择 && 支持自定义获取QQ、微信文件

6. 不含任何三方框架,极高的定制化,支持Android 10/11/12/++、AndroidX、DSL

部分截图

基本使用

温馨提示: targetSdkVersion >= 29 清单文件中加上 android:requestLegacyExternalStorage="true"
温馨提示: targetSdkVersion >= 29 清单文件中加上 android:requestLegacyExternalStorage="true"
温馨提示: targetSdkVersion >= 29 清单文件中加上 android:requestLegacyExternalStorage="true"

Step 0. 添加依赖

最新版本

    // Android 10 及以上版本  暂只提供 aar

    // Android 10 及以下版本使用(不推荐使用)
    implementation 'com.github.zp:z_file:1.2.6' 

Step 1. 实现ZFileImageListener,并在调用前配置

class MyFileImageListener : ZFileImageListener() {

    override fun loadImage(imageView: ImageView, file: File) {
        // 以Glide为例
        Glide.with(imageView.context)
            .load(file)
            .apply(RequestOptions().apply {
                placeholder(R.drawable.ic_zfile_other)
                error(R.drawable.ic_zfile_other)
            })
            .into(imageView)
    }
}

// 在调用前配置
getZFileHelp().init(MyFileImageListener())

Step 2. 在Activity或Fragment中使用

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        main_defaultMangerBtn.setOnClickListener {
            // DSL 方式  (推荐)
            zfile { 
                result {
                    setFileListData(this)
                }
            }
            // 普通 方式 
            getZFileHelp()
                .result(this) {
                     setFileListData(this)
                }
        }
    }
    
    private fun setFileListData(fileList: MutableList<ZFileBean>?) {
        val sb = StringBuilder()
        fileList?.forEach {
            sb.append(it).append("\n\n")
        }
        main_resultTxt.text = sb.toString()
    }

}

更多使用方式详见wiki

更多操作请查看demo, ^_^ 如果觉得可以 star 一下哦!
源自 FileManager 点这里页面加载速度应该会快一点

Travis Travis Travis

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].