Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xayahsususu/libpickyou

Android file picker module with the style of Material You.
https://github.com/xayahsususu/libpickyou

Last synced: 10 days ago
JSON representation

Android file picker module with the style of Material You.

Awesome Lists containing this project

README

        


English

# PickYou
[![JitPack](https://jitpack.io/v/xayahsususu/libpickyou.svg)](https://jitpack.io/#xayahsususu/libpickyou) ![minSdk](https://img.shields.io/badge/minSdk-24-green) [![License](https://img.shields.io/github/license/XayahSuSuSu/AndroidModule-PickYou?color=ff69b4)](./LICENSE)

Android file picker module with the style of Material You.

Use this module to pick files/directories easily.

## Features
- Write in [**compose**](https://developer.android.com/jetpack/compose)
- Easy to import and use.
- Highly customizable.
- Support for single/multiple selection.
- Monet enabled.

## Screenshots




## Implementation
1. Enable **JitPack** in `settings.gradle`/`settings.gradle.kts`
* **Groovy**
```
repositories {
// ......
maven { url 'https://jitpack.io' }
}
```
* **Kotlin**
```
repositories {
// ......
maven("https://jitpack.io")
}
```
2. Implementation
* **Groovy**
```
implementation 'com.github.xayahsususu:libpickyou:$PickYouVersion'
```

* **Kotlin**
```
implementation("com.github.xayahsususu:libpickyou:$PickYouVersion")
```

## Usage
1. Launch anywhere
```
val launcher = PickYouLauncher()
launcher.launch(context) { path ->
// Code here.
}
```

2. Customization

See [PickYouLauncher](./libpickyou/src/main/kotlin/com/xayah/libpickyou/ui/PickYouLauncher.kt)

## Sample
See [sample](./app/src/main/kotlin/com/xayah/pickyou/MainActivity.kt)

## Credits
- [libsu](https://github.com/topjohnwu/libsu)
- [MaterialFiles](https://github.com/zhanghai/MaterialFiles)