/ Images

Android image picker dialog fragment

Android image picker dialog fragment

ImagePickerView

This is Simple Android ImagePicker Library.

Support DayNight Mode.

ImagePickerView

Setup

Add root build.gradle

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Add the dependency

dependencies {
	        implementation 'com.github.lhoyong:ImagePickerView:latestVersion'
	}

Usage

Add ImagePickerView your Activity or Fragments Example.

val config = Config.Builder()
                   .max(5)
                   .build()

ImagePickerView.Builder()
   .config(config)
   .onImageLoaderListener(this)
   .build(supportFragmentManager)

Finish image select task, update ui for fun onLoad(uriList: List<Uri>)

override fun onLoad(uriList: List<Uri>) {
        (recycler_view.adapter as ImageAdapter).submitList(uriList)
}

GitHub