Documentation for maplib/util/UiUtil.kt
-
fun runAsync(action: () -> Unit)
Runs a block in new Thread
-
fun Context.getColorCompat(color: Int)
Returns a color from resources by it’s ID
- returns
Int color
-
fun FloatingActionButton.tint(@ColorRes resId: Int)
Tints a FAB’s background
- parameter resId
color from resources
-
fun View.tint(@ColorRes resId: Int)
Tints a view’s background
- parameter resId
color from resources