- get() - Method in class com.bixlabs.bkotlin.KOptional
-
- get($receiver, index) - Static method in class com.bixlabs.bkotlin.MenuKt
-
Returns the menu at index.
- getActivity($receiver) - Static method in class com.bixlabs.bkotlin.ViewKt
-
- getAll() - Method in class com.bixlabs.bkotlin.Bundlify
-
- getAll() - Method in class com.bixlabs.bkotlin.GlobalSharedPreferences
-
- getBoolean($receiver) - Method in class com.bixlabs.bkotlin.Bundlify
-
- getBoolean(key, defaultValue) - Method in class com.bixlabs.bkotlin.GlobalSharedPreferences
-
- getBundle() - Method in class com.bixlabs.bkotlin.Bundlify
-
- getChildren($receiver) - Static method in class com.bixlabs.bkotlin.MenuKt
-
Returns a
Sequence over the items in this menu.
- getChildren($receiver) - Static method in class com.bixlabs.bkotlin.ViewKt
-
Get all child views from a ViewGroup
- getColorCompat($receiver, color, theme) - Static method in class com.bixlabs.bkotlin.ColorKt
-
Returns a themed color integer associated with a particular resource ID.
If the resource holds a complex ColorStateList, then the default color from the set is returned.
- getContent() - Method in class com.bixlabs.bkotlin.Span.Leaf
-
- getDarker($receiver, alpha) - Static method in class com.bixlabs.bkotlin.ColorKt
-
Get a darker version of this
Color
- getDisplayMetrics($receiver) - Static method in class com.bixlabs.bkotlin.DimensionKt
-
Get the screen dimensions for the device in px
- getDisplayMetrics($receiver) - Static method in class com.bixlabs.bkotlin.DimensionKt
-
Get the screen dimensions for the device in px
- getDrawableCompat($receiver, resId) - Static method in class com.bixlabs.bkotlin.DrawableKt
-
Returns a drawable object associated with a particular resource ID and styled for the current theme.
- getDrawableSelectorCompat($receiver, normalColor, pressedColor, disabledColor, res) - Static method in class com.bixlabs.bkotlin.DrawableKt
-
Specifies a tint for drawable as a color state list.
- getError() - Method in class com.bixlabs.bkotlin.AttemptResult
-
a caught
- getFloat($receiver) - Method in class com.bixlabs.bkotlin.Bundlify
-
- getFloat(key, defaultValue) - Method in class com.bixlabs.bkotlin.GlobalSharedPreferences
-
- getHasValue() - Method in class com.bixlabs.bkotlin.AttemptResult
-
- getInt($receiver) - Method in class com.bixlabs.bkotlin.Bundlify
-
- getInt(key, defaultValue) - Method in class com.bixlabs.bkotlin.GlobalSharedPreferences
-
- getLong($receiver) - Method in class com.bixlabs.bkotlin.Bundlify
-
- getLong(key, defaultValue) - Method in class com.bixlabs.bkotlin.GlobalSharedPreferences
-
- getLuma($receiver) - Static method in class com.bixlabs.bkotlin.ColorKt
-
Get a brighter (luma) version of this
Color
- getName() - Method in class com.bixlabs.bkotlin.Only.Builder
-
- getOnDo() - Method in class com.bixlabs.bkotlin.Only.Builder
-
- getOnPreviouslyDone() - Method in class com.bixlabs.bkotlin.Only.Builder
-
- getOpaque($receiver) - Static method in class com.bixlabs.bkotlin.ColorKt
-
Return the color with 0xFF opacity.
E.g., 0xabcdef
will be translated to 0xFFabcdef
.
- getParcelable($receiver) - Method in class com.bixlabs.bkotlin.Bundlify
-
- getParcelableArray($receiver) - Method in class com.bixlabs.bkotlin.Bundlify
-
- getParcelableArrayList($receiver) - Method in class com.bixlabs.bkotlin.Bundlify
-
- getPICK_FAILED() - Method in class com.bixlabs.bkotlin.utils.BixMediaPicker.Companion
-
- getPICK_FROM_CAMERA() - Method in class com.bixlabs.bkotlin.utils.BixMediaPicker.Companion
-
- getPICK_FROM_CAMERA_VIDEO() - Method in class com.bixlabs.bkotlin.utils.BixMediaPicker.Companion
-
- getPICK_FROM_GALLERY() - Method in class com.bixlabs.bkotlin.utils.BixMediaPicker.Companion
-
- getPICK_FROM_GALLERY_VIDEO() - Method in class com.bixlabs.bkotlin.utils.BixMediaPicker.Companion
-
- getPICK_SUCCESS() - Method in class com.bixlabs.bkotlin.utils.BixMediaPicker.Companion
-
- getSize($receiver) - Static method in class com.bixlabs.bkotlin.MenuKt
-
Returns the number of items in this menu.
- getSpan() - Method in class com.bixlabs.bkotlin.Span.Node
-
- getStatusBarHeight($receiver) - Static method in class com.bixlabs.bkotlin.ContextKt
-
get Height of status bar
- getString($receiver) - Method in class com.bixlabs.bkotlin.Bundlify
-
- getString(key, defaultValue) - Method in class com.bixlabs.bkotlin.GlobalSharedPreferences
-
- getStringArray($receiver) - Method in class com.bixlabs.bkotlin.Bundlify
-
- getStringArrayList($receiver) - Method in class com.bixlabs.bkotlin.Bundlify
-
- getStringSet(key, defaultValue) - Method in class com.bixlabs.bkotlin.GlobalSharedPreferences
-
- getTAG($receiver) - Static method in class com.bixlabs.bkotlin.AnyKt
-
Returns the class name. Useful for Log Tags
- getTaskTimes(taskName) - Method in class com.bixlabs.bkotlin.Only
-
Gets the amount of times a specific task has been run.
- getTaskVersion(taskName) - Method in class com.bixlabs.bkotlin.Only
-
Gets the version of a specific task if any
- getText() - Method in class com.bixlabs.bkotlin.Validator
-
- getTimes() - Method in class com.bixlabs.bkotlin.Only.Builder
-
- getValue() - Method in class com.bixlabs.bkotlin.AttemptResult
-
the return value if code execution was finished without an exception,
- getValue() - Method in class com.bixlabs.bkotlin.KOptional
-
If
- getVersion() - Method in class com.bixlabs.bkotlin.Only.Builder
-
- getVersionCode($receiver) - Static method in class com.bixlabs.bkotlin.ApplicationKt
-
Get the application version code
- getVersionName($receiver) - Static method in class com.bixlabs.bkotlin.ApplicationKt
-
Get the application version name
- GlobalSharedPreferences - Class in com.bixlabs.bkotlin
-
- gone($receiver) - Static method in class com.bixlabs.bkotlin.ViewKt
-
Sets the view's visibility to GONE
- goneIf($receiver, condition) - Static method in class com.bixlabs.bkotlin.ViewKt
-
Gone this view if the received condition becomes true
- i($receiver, message) - Static method in class com.bixlabs.bkotlin.LogKt
-
- i($receiver, message, throwable) - Static method in class com.bixlabs.bkotlin.LogKt
-
- iconMargin(bitmap, padding, span, init) - Method in class com.bixlabs.bkotlin.Span
-
- ifEmpty($receiver, action) - Static method in class com.bixlabs.bkotlin.KOptionalKt
-
If a value is not present, invoke the specified action,
otherwise do nothing.
- ifPresent(consumer) - Method in class com.bixlabs.bkotlin.KOptional
-
If a value is present, invoke the specified consumer with the value,
otherwise do nothing.
- image(context, bitmap, verticalAlignment, span, init) - Method in class com.bixlabs.bkotlin.Span
-
- image(drawable, verticalAlignment, span, init) - Method in class com.bixlabs.bkotlin.Span
-
- image(context, uri, verticalAlignment, span, init) - Method in class com.bixlabs.bkotlin.Span
-
- image(context, resourceId, verticalAlignment, span, init) - Method in class com.bixlabs.bkotlin.Span
-
- inflate($receiver, layoutResource, parent, attachToRoot) - Static method in class com.bixlabs.bkotlin.ContextKt
-
Shortcut for LayoutInflater.from(this)
- init(context) - Method in class com.bixlabs.bkotlin.Only
-
- init(context, version) - Method in class com.bixlabs.bkotlin.Only
-
initialize
class Only
, providing a specific version for the tasks.
- initialize(application, sharedPreferencesName) - Method in class com.bixlabs.bkotlin.GlobalSharedPreferences
-
- INSTANCE - Static variable in class com.bixlabs.bkotlin.GlobalSharedPreferences
-
- INSTANCE - Static variable in class com.bixlabs.bkotlin.KOptional.EMPTY
-
- INSTANCE - Static variable in class com.bixlabs.bkotlin.Only
-
An easy way of running tasks a specific amount of times throughout the lifespan of an app,
either between versions of itself or regardless of the same.
- INSTANCE - Static variable in class com.bixlabs.bkotlin.utils.ObjectValidation
-
- IntentKt - Class in com.bixlabs.bkotlin
-
- isDebugModeEnabled() - Method in class com.bixlabs.bkotlin.Only
-
- isEmpty($receiver) - Static method in class com.bixlabs.bkotlin.MenuKt
-
Returns true if this menu contains no items.
- isError() - Method in class com.bixlabs.bkotlin.AttemptResult
-
- isFalse($receiver) - Static method in class com.bixlabs.bkotlin.BooleanKt
-
Determines if the value of this optional Boolean is not null and equals to false
- isGone($receiver) - Static method in class com.bixlabs.bkotlin.ViewKt
-
True if the view is currently gone (View.GONE), false otherwise
- isHidden($receiver) - Static method in class com.bixlabs.bkotlin.ViewKt
-
True if the view is currently invisible (View.INVISIBLE), false otherwise
- isNotBlankOrEmpty($receiver) - Static method in class com.bixlabs.bkotlin.StringKt
-
Returns true if this string is not empty nor composed by whitespaces
- isNotEmpty($receiver) - Static method in class com.bixlabs.bkotlin.MenuKt
-
Returns true if this menu contains one or more items.
- isNotNullAndMoreThanZero($receiver) - Static method in class com.bixlabs.bkotlin.NumberKt
-
Returns true if this number is not null or zero (0)
- isNotNullAndMoreThanZero($receiver) - Static method in class com.bixlabs.bkotlin.NumberKt
-
Returns true if this number is not null or zero (0)
- isNotNullAndMoreThanZero($receiver) - Static method in class com.bixlabs.bkotlin.NumberKt
-
Returns true if this number is not null or zero (0)
- isNotNullAndMoreThanZero($receiver) - Static method in class com.bixlabs.bkotlin.NumberKt
-
Returns true if this number is not null or zero (0)
- isNotNullOrEmpty($receiver) - Static method in class com.bixlabs.bkotlin.CollectionKt
-
True if this collection is not null nor empty, false otherwise
- isNotNullOrEmpty($receiver) - Static method in class com.bixlabs.bkotlin.CollectionKt
-
True if this collection is not null nor empty, false otherwise
- isNotNullThen($receiver, callback) - Static method in class com.bixlabs.bkotlin.AnyKt
-
Calls the specified function block with this value as its argument whenever this is not null
and returns Unit
.
- isNullOrEmpty($receiver) - Static method in class com.bixlabs.bkotlin.CollectionKt
-
True if this collection is null or empty, false otherwise
- isNullOrEmpty($receiver) - Static method in class com.bixlabs.bkotlin.CollectionKt
-
True if this list is null or empty, false otherwise
- isNullOrZero($receiver) - Static method in class com.bixlabs.bkotlin.NumberKt
-
Returns true if this number is null or zero (0)
- isNullThen($receiver, callback) - Static method in class com.bixlabs.bkotlin.AnyKt
-
Calls the specified function block whenever this is null
.
- isPresent() - Method in class com.bixlabs.bkotlin.KOptional
-
- isTrue($receiver) - Static method in class com.bixlabs.bkotlin.BooleanKt
-
Determines if the value of this optional Boolean is not null and equals to true
- isValidUrl($receiver) - Static method in class com.bixlabs.bkotlin.StringKt
-
Returns true if this string is a valid URL
- isVisible($receiver) - Static method in class com.bixlabs.bkotlin.ViewKt
-
True if the view is currently visible (View.VISIBLE), false otherwise
- italic(span, init) - Method in class com.bixlabs.bkotlin.Span
-
- iterator($receiver) - Static method in class com.bixlabs.bkotlin.MenuKt
-
- safeRunDelayedOnUiThread($receiver, delayInMillis, callback) - Static method in class com.bixlabs.bkotlin.ThreadKt
-
- sansSerif(span, init) - Method in class com.bixlabs.bkotlin.Span
-
- scaleX(proportion, span, init) - Method in class com.bixlabs.bkotlin.Span
-
- sendSMS($receiver, number, text) - Static method in class com.bixlabs.bkotlin.IntentKt
-
Send an SMS using the default messages client in the system
- serif(span, init) - Method in class com.bixlabs.bkotlin.Span
-
- setBundle(p) - Method in class com.bixlabs.bkotlin.Bundlify
-
- setDebugMode(debug) - Method in class com.bixlabs.bkotlin.Only
-
- setFocusToView($receiver, view) - Static method in class com.bixlabs.bkotlin.ViewKt
-
Gives focus to the passed view once the view has been completely inflated
- setFocusToView($receiver, view) - Static method in class com.bixlabs.bkotlin.ViewKt
-
Gives focus to the passed view once the view has been completely inflated
- setItems($receiver, items, layoutResource, getTitle) - Static method in class com.bixlabs.bkotlin.SpinnerKt
-
Sets an ArrayList of objects with an additional (but optional and which defaults to object.toString()
)
string conversion method for the same.
- setOnDo(p) - Method in class com.bixlabs.bkotlin.Only.Builder
-
- setOnPreviouslyDone(p) - Method in class com.bixlabs.bkotlin.Only.Builder
-
- setPaddingBottom($receiver, value) - Static method in class com.bixlabs.bkotlin.ViewKt
-
Sets the relative bottom padding for this view in pixels.
- setPaddingEnd($receiver, value) - Static method in class com.bixlabs.bkotlin.ViewKt
-
Sets the relative end padding for this view in pixels.
- setPaddingStart($receiver, value) - Static method in class com.bixlabs.bkotlin.ViewKt
-
Sets the relative start padding for this view in pixels.
- setPaddingTop($receiver, value) - Static method in class com.bixlabs.bkotlin.ViewKt
-
Sets the relative top padding for this view in pixels.
- setTaskTimes(taskName, time) - Method in class com.bixlabs.bkotlin.Only
-
Sets the amount of times a specific task has been run.
- setTouchFocusToView($receiver, view) - Static method in class com.bixlabs.bkotlin.ViewKt
-
Gives focus to the passed view once the view has been completely
inflated using view.requestFocusFromTouch
- setTouchFocusToView($receiver, view) - Static method in class com.bixlabs.bkotlin.ViewKt
-
Gives focus to the passed view once the view has been completely
inflated using view.requestFocusFromTouch
- setVersion(p) - Method in class com.bixlabs.bkotlin.Only.Builder
-
- SharedPreferencesKt - Class in com.bixlabs.bkotlin
-
- shareText($receiver, text, subject) - Static method in class com.bixlabs.bkotlin.IntentKt
-
Share text using the Intent.createChooser
method
- shortToast($receiver, message) - Static method in class com.bixlabs.bkotlin.ContextKt
-
- shortToast($receiver, message) - Static method in class com.bixlabs.bkotlin.ContextKt
-
- show($receiver) - Static method in class com.bixlabs.bkotlin.ViewKt
-
Sets the view's visibility to VISIBLE
- ShowHideIfBuilder - Class in com.bixlabs.bkotlin
-
- ShowHideIfBuilder(view, condition) - Constructor for class com.bixlabs.bkotlin.ShowHideIfBuilder
-
- showIf($receiver, condition) - Static method in class com.bixlabs.bkotlin.ViewKt
-
Show this view if the received condition becomes true
- showViews($receiver, views) - Static method in class com.bixlabs.bkotlin.ViewKt
-
Shows all the views passed as argument(s)
- singleTop($receiver) - Static method in class com.bixlabs.bkotlin.IntentKt
-
- Some(value) - Constructor for class com.bixlabs.bkotlin.KOptional.Some
-
- sp2px($receiver, value) - Static method in class com.bixlabs.bkotlin.DimensionKt
-
Converts sp to px
- sp2px($receiver, value) - Static method in class com.bixlabs.bkotlin.DimensionKt
-
Converts sp to px
- Span - Class in com.bixlabs.bkotlin
-
Kotlin wrapper around SpannableStringBuilder
Inspired by JakeWharton's Truss and Kotlin's kotlinx.html
- Span() - Constructor for class com.bixlabs.bkotlin.Span
-
Kotlin wrapper around SpannableStringBuilder
Inspired by JakeWharton's Truss and Kotlin's kotlinx.html
- span(what, init) - Method in class com.bixlabs.bkotlin.Span
-
- span(init) - Static method in class com.bixlabs.bkotlin.SpanKt
-
- Span.Leaf - Class in com.bixlabs.bkotlin
-
- Span.Node - Class in com.bixlabs.bkotlin
-
- SpanKt - Class in com.bixlabs.bkotlin
-
- SpinnerKt - Class in com.bixlabs.bkotlin
-
- startsWith(string) - Method in class com.bixlabs.bkotlin.Validator
-
- startsWithNonNumber() - Method in class com.bixlabs.bkotlin.Validator
-
- strikethrough(span, init) - Method in class com.bixlabs.bkotlin.Span
-
- StringKt - Class in com.bixlabs.bkotlin
-
- style(style, span, init) - Method in class com.bixlabs.bkotlin.Span
-
- subscript(span, init) - Method in class com.bixlabs.bkotlin.Span
-
- superscript(span, init) - Method in class com.bixlabs.bkotlin.Span
-
- v($receiver, message) - Static method in class com.bixlabs.bkotlin.LogKt
-
- v($receiver, message, throwable) - Static method in class com.bixlabs.bkotlin.LogKt
-
- validate() - Method in class com.bixlabs.bkotlin.Validator
-
- ValidationError - Enum in com.bixlabs.bkotlin
-
Enums that serve for identification of error while validation text.
Every enum is the name of a function with the corresponding validation
- ValidationError() - Constructor for enum com.bixlabs.bkotlin.ValidationError
-
Enums that serve for identification of error while validation text.
Every enum is the name of a function with the corresponding validation
- Validator - Class in com.bixlabs.bkotlin
-
Minimum chainable validation utilities.
Usage example:
var result: Boolean = editText.validator()
.email()
.atLeastOneUpperCase()
.atLeastOneLowerCase()
.maximumLength(20)
.minimumLength(5)
.noNumbers()
.validate()
- Validator(text) - Constructor for class com.bixlabs.bkotlin.Validator
-
Minimum chainable validation utilities.
Usage example:
var result: Boolean = editText.validator()
.email()
.atLeastOneUpperCase()
.atLeastOneLowerCase()
.maximumLength(20)
.minimumLength(5)
.noNumbers()
.validate()
- validator($receiver) - Static method in class com.bixlabs.bkotlin.ValidatorKt
-
- Validator.Companion - Class in com.bixlabs.bkotlin
-
- ValidatorKt - Class in com.bixlabs.bkotlin
-
- verifyLessThan(value, lessThan, paramName) - Method in class com.bixlabs.bkotlin.utils.ObjectValidation
-
Validate that the given value is les than another given value,
or report an IllegalArgumentException with the parameter name.
- verifyLessThan(value, lessThan, paramName) - Method in class com.bixlabs.bkotlin.utils.ObjectValidation
-
Validate that the given value is les than another given value,
or report an IllegalArgumentException with the parameter name.
- verifyLessThan(value, lessThan, paramName) - Method in class com.bixlabs.bkotlin.utils.ObjectValidation
-
Validate that the given value is les than another given value,
or report an IllegalArgumentException with the parameter name.
- verifyLessThan(value, lessThan, paramName) - Method in class com.bixlabs.bkotlin.utils.ObjectValidation
-
Validate that the given value is les than another given value,
or report an IllegalArgumentException with the parameter name.
- verifyMoreThan(value, moreThan, paramName) - Method in class com.bixlabs.bkotlin.utils.ObjectValidation
-
Validate that the given value is more than another given value,
or report an IllegalArgumentException with the parameter name.
- verifyMoreThan(value, moreThan, paramName) - Method in class com.bixlabs.bkotlin.utils.ObjectValidation
-
Validate that the given value is more than another given value,
or report an IllegalArgumentException with the parameter name.
- verifyMoreThan(value, moreThan, paramName) - Method in class com.bixlabs.bkotlin.utils.ObjectValidation
-
Validate that the given value is more than another given value,
or report an IllegalArgumentException with the parameter name.
- verifyMoreThan(value, moreThan, paramName) - Method in class com.bixlabs.bkotlin.utils.ObjectValidation
-
Validate that the given value is more than another given value,
or report an IllegalArgumentException with the parameter name.
- verifyPositive(value, paramName) - Method in class com.bixlabs.bkotlin.utils.ObjectValidation
-
Validate that the given value is positive or report an IllegalArgumentException with
the parameter name.
- verifyPositive(value, paramName) - Method in class com.bixlabs.bkotlin.utils.ObjectValidation
-
Validate that the given value is positive or report an IllegalArgumentException with
the parameter name.
- verifyPositive(value, paramName) - Method in class com.bixlabs.bkotlin.utils.ObjectValidation
-
Validate that the given value is positive or report an IllegalArgumentException with
the parameter name.
- verifyPositive(value, paramName) - Method in class com.bixlabs.bkotlin.utils.ObjectValidation
-
Validate that the given value is positive or report an IllegalArgumentException with
the parameter name.
- VersionKt - Class in com.bixlabs.bkotlin
-
- ViewKt - Class in com.bixlabs.bkotlin
-