All Projects → robertlevonyan → Mediapicker

robertlevonyan / Mediapicker

Licence: apache-2.0
Easy customizable picker for all your needs in Android application

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Mediapicker

Ibackdrop
A library to simply use Backdrop in your project (make it easy). Read more ->
Stars: ✭ 137 (+30.48%)
Mutual labels:  android-app, android-studio, androidstudio, android-architecture, material-design, android-application, android-development, material-ui, android-sdk, android-ui, material-components
media-picker
Easy customizable picker for all your needs in Android application
Stars: ✭ 167 (+59.05%)
Mutual labels:  material-ui, android-sdk, android-development, android-application, android-architecture, material-components, android-ui, android-studio, android-app, androidstudio
Modern Android Development
Modern Android Development tools & key points
Stars: ✭ 219 (+108.57%)
Mutual labels:  android-app, android-studio, androidstudio, android-architecture, android-application, android-development, android-sdk, android-ui
Androidkex
Extensions for Kotlin. Use the power of Kotlin to make your code smaller and beautiful.
Stars: ✭ 35 (-66.67%)
Mutual labels:  android-app, android-studio, androidstudio, android-architecture, android-application, android-development, android-sdk, android-ui
Android Inappbilling
A sample which uses Google's Play Billing Library and it does InApp Purchases and Subscriptions.
Stars: ✭ 114 (+8.57%)
Mutual labels:  android-app, android-studio, androidstudio, android-architecture, android-application, android-development, android-sdk, android-ui
Cameraxdemo
A sample camera app with CameraX API from Android Jetpack
Stars: ✭ 112 (+6.67%)
Mutual labels:  android-app, android-studio, androidstudio, android-architecture, android-application, android-development, android-sdk, android-ui
Android-daily-read-tips
log for articles and info in android for every developer
Stars: ✭ 13 (-87.62%)
Mutual labels:  android-sdk, android-development, android-application, android-architecture, android-ui, android-studio, android-app
Bottomsheet
BottomSheet dialog library for Android
Stars: ✭ 219 (+108.57%)
Mutual labels:  android-app, material-design, android-application, android-development, material-ui, android-ui, material-components
Datingapp
Dating UI kit is used for online meet up with girls and boys . The screen contains more than 30 icons and most of all required elements required to design an application like this. The XML and JAVA files contains comments at each and every point for easy understanding. Everything was made with a detail oriented style and followed by today's web trends. Clean coded & Layers are well-organized, carefully named, and grouped.
Stars: ✭ 97 (-7.62%)
Mutual labels:  android-app, androidstudio, material-design, android-application, android-development, material-ui, android-ui
Zoomrecylerlayout
🎢 Zoom Recycler Layout Manager For Android Kotlin
Stars: ✭ 618 (+488.57%)
Mutual labels:  android-app, android-studio, androidstudio, android-application, android-development, android-ui
Android Arsenal.com
Source to android-arsenal.herokuapp.com
Stars: ✭ 541 (+415.24%)
Mutual labels:  android-app, android-architecture, android-application, android-development, android-sdk, android-ui
Notzz App
📝 A Simple Note-Taking App built to demonstrate the use of Modern Android development tools - (Kotlin, Coroutines, State Flow, Hilt-Dependency Injection, Jetpack DataStore, Architecture Components, MVVM, Room, Material Design Components).
Stars: ✭ 158 (+50.48%)
Mutual labels:  android-app, android-studio, android-architecture, material-design, android-development, android-ui
CustomFontView
Custom View classes for TextView, EditText & Buttons - to set custom fonts
Stars: ✭ 26 (-75.24%)
Mutual labels:  android-sdk, android-application, android-architecture, android-ui, android-studio, android-app
Motiontoast
🌈 A Beautiful Motion Toast Library for Kotlin Android
Stars: ✭ 767 (+630.48%)
Mutual labels:  android-app, androidstudio, material-design, android-development, android-sdk, android-ui
Awesomedialog
A Beautiful Dialog Library for Kotlin Android
Stars: ✭ 163 (+55.24%)
Mutual labels:  android-app, androidstudio, material-design, android-development, android-sdk, android-ui
Biometric-Authentication-Android
A sample implementation of AndroidX biometrics API using Kotlin. Authenticate using biometrics or PIN/Password if biometrics isn't available on device. Fully implemented in Jetpack compose using Material 3 dynamic theming and also has a separate implementation in xml with MDC 3.
Stars: ✭ 29 (-72.38%)
Mutual labels:  android-sdk, android-development, android-ui, android-studio, android-app, androidstudio
Android-MonetizeApp
A sample which uses Google's Play Billing Library and it makes In-app Purchases and Subscriptions.
Stars: ✭ 149 (+41.9%)
Mutual labels:  android-sdk, android-development, android-architecture, android-studio, android-app, androidstudio
Permissionsflow
A simple library to make it easy requesting permissions in Android using Kotlin Coroutines.
Stars: ✭ 49 (-53.33%)
Mutual labels:  android-app, android-architecture, android-application, android-development, android-sdk
Alerter
An Android Alerting Library
Stars: ✭ 5,213 (+4864.76%)
Mutual labels:  android-app, material-design, android-development, material-ui, android-ui
Music Player Go
🎶🎼 Very slim music player 👨‍🎤 100% made in Italy 🍕🌳🌞🍝🌄
Stars: ✭ 654 (+522.86%)
Mutual labels:  android-app, material-design, android-application, android-development, android-ui

    Universal Media Picker

Easy customizable picker for all your needs in Android application

Android ArsenalAPI Download

Setup

Gradle:

Add following line of code to your module(app) level gradle file

    implementation 'com.robertlevonyan.components:Picker:<LATEST_VERSION>'

Maven:

  <dependency>
    <groupId>com.robertlevonyan.components</groupId>
    <artifactId>Picker</artifactId>
    <version>LATEST_VERSION</version>
    <type>pom</type>
  </dependency>

Usage

Buildung picker

  // in fragment or activity
  pickerDialog {
    setTitle(...)          // String value or resource ID
    setTitleTextSize(...)  // Text size of title
    setTitleTextColor(...) // Color of title text
    setListType(...)       // Type of the picker, must be PickerDialog.TYPE_LIST or PickerDialog.TYPE_Grid
    setItems(...)          // List of ItemModel-s which should be in picker
 }.setPickerCloseListener { type: ItemType, uris: List<Uri> ->
   // Getting the result
   when (type) {
            ItemModel.ITEM_CAMERA -> /* do something with the photo you've taken */
            ItemModel.ITEM_GALLERY -> /* do something with the images you've chosen */
            ItemModel.ITEM_VIDEO -> /* do something with the video you've recorded */
            ItemModel.ITEM_VIDEO_GALLERY -> /* do something with the videos you've chosen */
            ItemModel.ITEM_FILES -> /* do something with the files you've chosen */
        }
 }.show()

Creating items

  /*  Create a camera item, can be
      ItemModel.ITEM_CAMERA 
      ItemModel.ITEM_GALLERY
      ItemModel.ITEM_VIDEO
      ItemModel.ITEM_VIDEO_GALLERY 
      ItemModel.ITEM_FILES 
  */
  val itemModel = ItemModel(ItemModel.ITEM_CAMERA)
  
  // Some optional parameters
  val itemModel = ItemModel(
                    ItemModel.ITEM_CAMERA,
                    itemLabel, // Default value is "", in this case default text value will be set
                    itemIcon,  // Default value is 0, in this case default icon will be set
                    hasBackground, // draw a shape background over the icon, default value is true
                    backgroundType, // choose a type for icon background, only works if hasBackground is true, can have one of
                                    // this values: ItemType.TYPE_CIRCLE, ItemType.TYPE_SQUARE, ItemType.TYPE_ROUNDED_SQUARE
                    itemBackgroundColor, // custom color for background shape, only works if hasBackground is true, 
                                         // default color is accent color of your app
                    )

And the result is

List picker Grid picker

Versions

2.0.1 - 2.0.2

Refactoring and some UI changes

2.0.0

New version of library. Mostly rewritten. Now supports multiple selection.

1.0.1 - 1.1.5

Refactoring and some UI changes

1.0.0

First version of library

Contact

Special thanks to @chimzycash for createing an amazing logo for this project ☺️

Licence

    Universal Media Picker©
    Copyright 2018 Robert Levonyan
    Url: https://github.com/robertlevonyan/MediaPicker

    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].