All Projects → lhoyong → ImagePicker

lhoyong / ImagePicker

Licence: Apache-2.0 license
Android image picker

Programming Languages

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

Projects that are alternatives of or similar to ImagePicker

ProPicker
ProPicker is a file picker (image, video, file) library for Android. It helps you to pick any file and return the result in a convenient way
Stars: ✭ 25 (+47.06%)
Mutual labels:  gallery, imagepicker
ImagePickerView
🌇 PHPickerViewController / UIImagePickerController for SwiftUI
Stars: ✭ 18 (+5.88%)
Mutual labels:  imagepicker, imagepickerview
Tzimagepickercontroller
一个支持多选、选原图和视频的图片选择器,同时有预览、裁剪功能,支持iOS6+。 A clone of UIImagePickerController, support picking multiple photos、original photo、video, also allow preview photo and video, support iOS6+
Stars: ✭ 7,740 (+45429.41%)
Mutual labels:  imagepicker, imagepickerview
Ypimagepicker
📸 Instagram-like image picker & filters for iOS
Stars: ✭ 3,661 (+21435.29%)
Mutual labels:  gallery, imagepicker
Zlphotobrowser
Wechat-like image picker. Support select normal photos, videos, gif and livePhoto. Support edit image and crop video. 微信样式的图片选择器,支持预览/相册内拍照及录视频、拖拽/滑动选择,编辑图片/视频,支持多语言国际化等功能;
Stars: ✭ 3,962 (+23205.88%)
Mutual labels:  gallery, imagepicker
Yimagepicker
小红书多图剪裁+微信图片选择器+大图预览+图片剪裁(支持圆形剪裁和镂空剪裁),已适配androidQ,借鉴并升级matisse加载内核!超强定制性可轻松实现知乎/马蜂窝/微博等特殊样式!支持跨进程回调!内部结构轻量级,无任何第三方开源库!支持support依赖!
Stars: ✭ 975 (+5635.29%)
Mutual labels:  gallery, imagepicker
Insgallery
📸 Instagram-like image picker for Android (一款 UI 炫酷高仿 Instagram 的图片、视频选择器)
Stars: ✭ 409 (+2305.88%)
Mutual labels:  gallery, imagepicker
SSImagePicker
Easy to use and configurable library to Pick an image from the Gallery or Capture an image using a Camera... 📸
Stars: ✭ 227 (+1235.29%)
Mutual labels:  gallery, imagepicker
DSC-official-website
Official website for DSC-VIT.
Stars: ✭ 32 (+88.24%)
Mutual labels:  dark-theme
qtcreator
🧛🏻‍♂️ Dark theme for Qt Creator
Stars: ✭ 39 (+129.41%)
Mutual labels:  dark-theme
paddy-color-theme
A very detailed VS Code color theme with earthy tones and many background options for all ye badass hackers. 🍁
Stars: ✭ 29 (+70.59%)
Mutual labels:  dark-theme
chaos-sticker-collection
A collection of chaos event / nerd culture related stickers.
Stars: ✭ 36 (+111.76%)
Mutual labels:  gallery
wingpanel-indicator-daynight
A Wingpanel indicator to toggle 'prefer dark variant' option in elementary OS
Stars: ✭ 36 (+111.76%)
Mutual labels:  dark-theme
GogsThemes
An attempt to give some colors to amazing Gogs platform ..
Stars: ✭ 53 (+211.76%)
Mutual labels:  dark-theme
react-pig
Arrange images in a responsive, progressive-loading grid managed in JavaScript using CSS transforms.
Stars: ✭ 47 (+176.47%)
Mutual labels:  gallery
DiscordNight
An actual Dark/Nightmode Theme for Discord/BetterDiscord
Stars: ✭ 86 (+405.88%)
Mutual labels:  dark-theme
Discourse-Dark
🏛️ Darken Discourse forums
Stars: ✭ 43 (+152.94%)
Mutual labels:  dark-theme
react-simple-image-viewer
Simple image viewer component for React
Stars: ✭ 44 (+158.82%)
Mutual labels:  gallery
FastDarkTheme
Experiment with dark themes based on popular apps.
Stars: ✭ 47 (+176.47%)
Mutual labels:  dark-theme
PrivateGalleryCreator
Create private extension galleries for Visual Studio
Stars: ✭ 96 (+464.71%)
Mutual labels:  gallery

ImagePickerView

DOWNLOAD Build Android Arsenal

This is Simple Android ImagePicker Library.

Support DayNight Mode.

OverView

ScreenShot

Setup

Add the dependency

dependencies {
    implementation "com.lhoyong:imagepicker:$latestVersion"
}

Usage

Add ImagePickerView your Activity or Fragments Example.

When you Click on the Image, it will move to Detail Screen. If Long Click Image, start scale Animations and visible checkbox. Bul Already Clicked Images, can not move to Detail Screen.

  • Single Select
ImagePickerView.Builder()
    .setup {
        name { RESULT_NAME }
        title { "Image Picker" } // optional
        single { true } 
    }
    .start(this)
  • Multiple Select
ImagePickerView.Builder()
    .setup {
        max { 5} // default 30
        name { RESULT_NAME }
        title { "Image Picker" } // optional, if not used toolbar title display selected image count
        single { false }  // optional, single = false
    }
    .start(this)

Finish image select task, update ui for onActivityResult received data.

override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
        super.onActivityResult(requestCode, resultCode, data)
        if (resultCode == Activity.RESULT_OK) {
            val images = data?.getParcelableArrayListExtra<Uri>(RESULT_NAME)
            images?.let {
                (recycler_view.adapter as ImageAdapter).submitList(it)
            }
        }
    }

License

Copyright (C) 2020 lhoyong.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
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].