Skip navigation links
Version 2.2.0 Documentation
A B C D F G H I L P R S T U 

A

add(int) - Method in class universum.studios.android.util.Flags
Adds the specified flag to the current ones (if not presented yet).
argument(Class<?>, String) - Static method in class universum.studios.android.util.BundleKey
Creates a key intended to be used to identify a single argument passed via Bundle.

B

basic(Class<?>, String) - Static method in class universum.studios.android.util.BundleKey
Creates basic bundle key.
BundleKey - Class in universum.studios.android.util
Utility class that may be used to create keys for Bundle map.

C

create(Class<?>, String) - Static method in class universum.studios.android.util.BundleKey
Creates a new key with keyName for the specified keyOwner class.

D

dispatchApplicationCreated(Resources) - Method in class universum.studios.android.util.Localer
Called from application's Application.onCreate() to dispatch, that application was just created.
dispatchConfigurationChanged(Configuration, Resources) - Method in class universum.studios.android.util.Localer
Called from application's Application.onConfigurationChanged(Configuration) to dispatch changed configuration.

F

Flags - Class in universum.studios.android.util
This class represents a crate to store a set of integer flags instead of a boolean flags to improve memory efficiency of an Android application.
Flags() - Constructor for class universum.studios.android.util.Flags
Creates a new instance of Flags with current flags initialized to 0.
Flags(int) - Constructor for class universum.studios.android.util.Flags
Creates a new instance of Flags with the initial flags value.

G

get() - Method in class universum.studios.android.util.Flags
Returns the current integer flags.
getLocale() - Method in class universum.studios.android.util.Localer
Returns the current locale assigned to this Localer.

H

has(int) - Method in class universum.studios.android.util.Flags
Checks whether the requested flag is presented within the current flags or not.
has(Context, String) - Static method in class universum.studios.android.util.Permissions
Checks whether the specified permission is granted for the current process and user id.
hasAllOf(Context, String...) - Static method in class universum.studios.android.util.Permissions
Checks whether all of the specified permissions are granted for the current process and user id.
hasAnyOf(Context, String...) - Static method in class universum.studios.android.util.Permissions
Checks whether any of the specified permissions is granted for the current process and user id.

I

isSingleGranted(int[]) - Static method in class universum.studios.android.util.Permissions
Checks whether the specified grantResults contain a single granted result.

L

Localer - Class in universum.studios.android.util
The Localer class provides API allowing to set up custom Locale for an Android application.
Localer() - Constructor for class universum.studios.android.util.Localer
Creates a new instance of Localer to manage custom locale within this Android application with default Locale set to Locale.ENGLISH.
Localer(Locale) - Constructor for class universum.studios.android.util.Localer
Creates a new instance of Localer to manage custom locale within this Android application with the given default Locale.

P

Permissions - Class in universum.studios.android.util
Helper class that may be used for permissions checking.

R

remove(int) - Method in class universum.studios.android.util.Flags
Removes the specified flag from the current ones (if presented).
reset() - Method in class universum.studios.android.util.Flags
Resets value of this flags to 0.

S

savedState(Class<?>, String) - Static method in class universum.studios.android.util.BundleKey
Creates a key intended to be used to identify a single value persisted in Bundle as saved state.
setLocale(Locale, Resources) - Method in class universum.studios.android.util.Localer
Sets the given locale to be used as locale for this Android application, so all stuffs related to locale, like resources will depends on the passed Locale.
showToast(Context, int) - Static method in class universum.studios.android.util.Toaster
Same as Toaster.showToast(Context, int, int) with Toast.LENGTH_SHORT duration flag.
showToast(Context, int, int) - Static method in class universum.studios.android.util.Toaster
Shows a default Toast with the formatted text obtained from an application resources by the specified resId.
showToast(Context, int, int, Object...) - Static method in class universum.studios.android.util.Toaster
Like Toaster.showToast(Context, int, String, Object...), but the specified text will be formatted by the given args during of the obtaining process from an application resources.
showToast(Context, int, String, Object...) - Static method in class universum.studios.android.util.Toaster
Same as Toaster.showToast(Context, CharSequence, int) where the given args will be used to format the specified text.
showToast(Context, CharSequence) - Static method in class universum.studios.android.util.Toaster
Same as Toaster.showToast(Context, CharSequence, int) with Toast.LENGTH_SHORT duration flag.
showToast(Context, CharSequence, int) - Static method in class universum.studios.android.util.Toaster
Shows a default Toast with the formatted text.

T

Toaster - Class in universum.studios.android.util
This class wraps Toast class and its API to provide simpler usage when showing toast messages.
Toaster.Duration - Annotation Type in universum.studios.android.util
Defines an annotation for determining set of allowed durations for showToast(...) methods.

U

universum.studios.android.util - package universum.studios.android.util
Provides group of useful utilities for everyday Android application development.
A B C D F G H I L P R S T U 
Skip navigation links
Version 2.2.0 Documentation