Gota alternatives and similar packages
Based on the "Utility" category.
Alternatively, view Gota alternatives based on common mentions on social networks and blogs.
-
StatusBarUtil
A util for setting status bar style on Android App. It can work above API 19(KitKat 4.4). -
timber
A logger with a small, extensible API which provides utility on top of Android's normal Log class. -
ExpirableDiskLruCache
Expirable Disk Lru Cache is a wrapper for that allows expiring of key/value pairs by specifying evictionTimeSpan. It has very simple API. -
Android-Templates-And-Utilities
Collection of source codes, utilities, templates and snippets for Android development. -
secure-preferences
Android Shared preference wrapper than encrypts the keys and values of Shared Preferences. It's not bullet proof security but rather a quick win for incrementally making your android app more secure. -
greenrobot-common
General purpose utilities and hash functions for Android and Java (aka java-common) -
vector-compat
A support library for VectorDrawable and AnimatedVectorDrawable classes introduced in Lollipop -
CastCompanionLibrary-android
CastCompanionLibrary-android is a library project to enable developers integrate Cast capabilities into their applications faster and easier. -
motion
An Android library allowing images to exhibit a parallax effect that reacts to the device's tilt -
Colours
A beautiful set of predefined colors and a set of color methods to make your Android development life easier.
Scout APM - Leading-edge performance monitoring starting at $39/month
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of Gota or a related project?
README
Gota Libary
With Android 6.0 Marshmallow, Google introduced a new permission model that allows users to better understand why an application may be requesting specific permissions. Rather than the user blindly accepting all permissions at install time, the user is now prompted to accept permissions as they become necessary during application use. As you probably already know, such a change requires efforts on the part of the application developer, this libary will help you to requset any number of permissions with a simple way.
You can report any issue on issues page. Note: If you speak Arabic, you can submit issues with Arabic language and I will check them. :)
Install
Maven
<dependency>
<groupId>net.alhazmy13.Gota</groupId>
<artifactId>libary</artifactId>
<version>1.4.1</version>
</dependency>
Gradle
dependencies {
compile 'net.alhazmy13.Gota:libary:1.4.1'
}
Usage
After adding the library, you just need to create an instance from Gota libary and passing an array of permissions.
new Gota.Builder(this)
.withPermissions(Manifest.permission.CAMERA,Manifest.permission.ACCESS_FINE_LOCATION,Manifest.permission.CALL_PHONE)
.requestId(1)
.setListener(this)
.check();
OnRequestPermissionsBack
In order to receive the response, you will need to implement the OnRequestPermissionsBack
interfaces.
@Override
public void onRequestBack(int requestId, @NonNull GotaResponse gotaResponse) {
if(gotaResponse.isGranted(Manifest.permission.CAMERA)) {
// Your Code
}
}
GotaResponse
methods
deniedPermissions()
- Return a list of denied permissions.
grantedPermissions()
- Return a list of grated permissions.
isGranted(String)
- To check if the permission was granted or not.
- To check if the permission was granted or not.
-
isDenied(String)
- To check if the permission was denied or not.
- To check if the permission was denied or not.
isAllGranted()
- return true if the all permission was grated
isAllDenied()
- return true if the all permission was denied
hasDeniedPermission()
- return true if there's any denied permission
isOnNeverAskAgain()
- return true if there's any permission that checked as never ask for permission again.
requestId
- Id or token that was submited with Gota request.