Package-level declarations
Properties
Check if this receiver is small width screen
Check if this receiver is wide screen
Locks are used to ensure that only a single thread can initialize the Lazy instance.
No locks are used to synchronize an access to the Lazy instance value; if the instance is accessed from multiple threads, its behavior is undefined.
Functions
Adds an observer on the lifecycle owner. This must be registered earlier than the lifecycle events you intend on listening to, preferably FragmentActivity.onCreate
Returns a copy of this strings having its first letter uppercase, or the original string, if it's empty or already starts with an upper case letter.
Capitalizes all the strings unless they are specified in the exceptions list
Sets the given content into clipboard.
Removes an observer on the lifecycle owner. This must be un-registered later than the lifecycle events you being listened to, preferably FragmentActivity.onDestroy
Disables toolbar title for an activity
Potentially useless but returns an empty string, the signature may change in future
Lazy intent parameters for fragment activities
Lazy intent parameters for saved state handle
Creates a callback flow a BroadcastReceiver using the given IntentFilter
Creates a color from the given attribute, If the attribute references a color resource holding a complex android.content.res.ColorStateList, then the default color from the set is returned.
Starting in android Marshmallow, the returned color will be styled for the specified Context's theme.
Avoids resource not found when using vector drawables in API levels < Lollipop
Avoids resource not found when using vector drawables in API levels < Lollipop Also images loaded from this method apply the Drawable.mutate to assure that the state of each drawable is not shared
Avoids resource not found when using vector drawables in API levels < Lollipop Also images loaded from this method apply the Drawable.mutate to assure that the state of each drawable is not shared
Avoids resource not found when using vector drawables in API levels < Lollipop and tints the drawable depending on the current selected theme, images loaded from this method apply the Drawable.mutate to assure that the state of each drawable is not shared
Avoids resource not found when using vector drawables in API levels < Lollipop and tints the drawable depending on the current selected theme, images loaded from this method apply the Drawable.mutate to assure that the state of each drawable is not shared.
Creates a drawable from the given attribute resource which cannot be nullable type
Retrieves a LayoutInflater from Context by querying system services
Retrieves a LayoutInflater from View.Context by querying system services
Gets the size of the display, in pixels. Value returned by this method does not necessarily represent the actual raw size (native resolution) of the display.
Hides both status bar and navigation bar
Exactly whether a device is low-RAM is ultimately up to the device configuration, but currently it generally means something in the class of a 512MB device with about a 800x480 or less screen. This is mostly intended to be used by apps to determine whether they should turn off certain features that require more RAM.
Makes status bar transparent
Clears the current list and adds the new items into the collection replacing all items
Extension helper for context that helps us restart the application
Extension helper for context that helps us restart the application
Schedule a repeating alarm that has inexact trigger time requirements.
Gives the size of the collection by doing a null check first
Start a new activity from context and avoid potential crashes from early API levels
Starts a background service using the specified type and action
Starts a foreground service using the specified type and action
Starts a shared transition of activities connected by views
Request that a given application service be stopped. If the service is not running, nothing happens.
Extension for getting system services from Context
Retrieve a style from the current android.content.res.Resources.Theme.
Updates layout margins with the given values