Package-level declarations

Functions

Link copied to clipboard
tailrec fun Context.activity(): Activity?
Link copied to clipboard
Link copied to clipboard
fun Context.getColorFromAttr(@AttrRes attrColor: Int, typedValue: TypedValue = TypedValue(), resolveRefs: Boolean = true): Int
fun Resources.Theme.getColorFromAttr(@AttrRes attrColor: Int, typedValue: TypedValue = TypedValue(), resolveRefs: Boolean = true): Int
Link copied to clipboard
fun getHtmlTextFromRaw(context: Context, @RawRes rawId: Int, tagHandler: Html.TagHandler? = null): Spanned
Link copied to clipboard
fun View.hide()
Link copied to clipboard
Link copied to clipboard
fun Int.px(context: Context): Double
Link copied to clipboard

Replaces the current view with the given one keeping ViewGroup.LayoutParams and id.

Link copied to clipboard
fun View.setBackgroundDrawable(color: DashColor, radiusPx: Int, shouldHighlightFocus: Boolean = false)
Link copied to clipboard
fun TextView.setDrawableWithIntrinsicBounds(@DrawableRes left: Int = 0, @DrawableRes top: Int = 0, @DrawableRes right: Int = 0, @DrawableRes bottom: Int = 0)
Link copied to clipboard
fun TextView.setHtmlFromRaw(@RawRes rawId: Int, tagHandler: Html.TagHandler? = null)
Link copied to clipboard
fun TextView.setHtmlText(html: String, tagHandler: Html.TagHandler? = null)
Link copied to clipboard
fun View.setStrokeBackgroundDrawable(backgroundColor: DashColor?, strokeColor: DashColor?, radiusPx: Int, widthPx: Int, inset: Int)
Link copied to clipboard
fun View.show()
Link copied to clipboard
fun utcDate(pattern: String = "yyyy-MM-dd", locale: Locale = Locale.US, date: Date): String
Link copied to clipboard
fun utcHour(pattern: String = "HH", locale: Locale = Locale.US, date: Date): String
Link copied to clipboard
fun utcTimeNow(format: String = "yyyy-MM-dd HH:mm:ss", locale: Locale = Locale.US): String
Link copied to clipboard
suspend fun MapboxNavigationApp.waitUntilInitialized(): MapboxNavigation