Skip to content

This is an Android Library that provides a feature for the developer to handle permission in android

Notifications You must be signed in to change notification settings

Pisey-Nguon/PermissionHandler

Repository files navigation

Welcome to PermissionHandler!

Hi! This is an Android Library that provides a feature for the developer to handle permission in android so please take a look at the instructions below, Thank!

How to

To get a Git project into your build:

Step 1. Add the JitPack repository to your build file

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

Step 2. Add the dependency

	dependencies {
	        implementation 'com.github.Pisey-Nguon:PermissionHandler:TAG'
	}

Note: TAG is a version of the package so please change it based here

Step 3. Implementation example

        requestTakePhoto {
            view?.findViewById<AppCompatImageView>(R.id.imageCamera)?.setImageURI(Uri.parse(it))
        }

Note: Don't forget to put permissions on manifest

UML diagrams

This is a behavior of PermissionHandler

enter image description here

About

This is an Android Library that provides a feature for the developer to handle permission in android

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages