UIHelper

Properties

Link copied to clipboard
var createPaletteAsyncCache: HashMap<String, <Error class: unknown class>>
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun adjustAlpha(@ColorInt color: Int, factor: Float): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun createPaletteAsync(url: String, bitmap: Bitmap, callback: (<Error class: unknown class>) -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Context.getResourceColor(@AttrRes resource: Int, alphaFactor: Float = 1.0f): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun hideKeyboard(view: View?)
Link copied to clipboard
fun <Error class: unknown class>.hideKeyboard()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Activity?.navigate(@IdRes navigation: Int, arguments: Bundle? = null)
Link copied to clipboard
fun <Error class: unknown class>.popCurrentPage()
Link copied to clipboard
fun populateChips(view: <Error class: unknown class>?, tags: List<String>, @StyleRes style: Int = R.style.ChipFilled)
Link copied to clipboard
fun View.popupMenuNoIcons(items: List<Pair<Int, Int>>, onMenuItemClick: MenuItem.() -> Unit): <Error class: unknown class>

id, stringRes

Link copied to clipboard
fun View.popupMenuNoIconsAndNoStringRes(items: List<Pair<Int, String>>, onMenuItemClick: MenuItem.() -> Unit): <Error class: unknown class>

id, string

Link copied to clipboard
Link copied to clipboard

Sets ListView height dynamically based on the height of the items.

Link copied to clipboard
Link copied to clipboard
fun showInputMethod(view: View?)
Link copied to clipboard