- Add JitPack to your project build.gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
If your Android studio version is Arctic Fox and above then add it in your settings.gradle:
dependencyResolutionManagement {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Add the dependency in the application build.gradle
dependencies {
def pickerVersion = "1.0.0" //look-up the latest one on jitpack
//images
implementation "com.github.FunkyMuse.MediaPicker:imagepicker:$pickerVersion"
//audios
implementation "com.github.FunkyMuse.MediaPicker:audiopicker:$pickerVersion"
//videos
implementation "com.github.FunkyMuse.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
}
- 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.