Minimum Android API 21
Compiled Android API 29
- Add JitPack to your project build.gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Add the dependency in the application build.gradle
dependencies {
def pickerVersion = "0.0.1" //look-up the latest one on jitpack
//the core package is a must then you include the one you need
implementation "com.github.CraZyLegenD.MediaPicker:core:$pickerVersion"
//images
implementation "com.github.CraZyLegenD.MediaPicker:imagepicker:$pickerVersion"
//audios
implementation "com.github.CraZyLegenD.MediaPicker:audiopicker:$pickerVersion"
//videos
implementation "com.github.CraZyLegenD.MediaPicker:videopicker:$pickerVersion"
}
- To not run into any issues in your application build.gradle add
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
kotlinOptions {
jvmTarget = "1.8"
}
viewBinding {
enabled = true
}
- Inside gradle.properties (optional)
org.gradle.parallel=true
- How to use and screens
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.