This project is intended for providing easy to use frameworks which makes the integration of Android's New/Existing features very fast with less lines of code.
-
PermissionRequestor: This class provides simple methods to request permission which require user approval before app use them. Just key-in the required arguments for the method including a listener which will respond based on user decision. Note- Few things to take care of while using this api:
- You must override the
onRequestPermissionsResult
method in your activity & called theonRequestPermissionsResult
method of PermissionRequestor instance from inside it. - Make sure all the requested Permissions are also declared in Manifest Uses permission.
- You must override the
Maven:
<dependency>
<groupId>com.codepiex.droidlibx</groupId>
<artifactId>droidlibx</artifactId>
<version>1.0.0</version>
<type>pom</type>
</dependency>
Gradle:
compile 'com.codepiex.droidlibx:droidlibx:1.0.0'
DroidLibX is released under the Apache 2.0 license.
Copyright 2017 Eeshan Jamal
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.