UIHelper

object UIHelper

Properties

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

Functions

Link copied to clipboard
fun adjustAlpha(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(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(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>, style: Int = R.style.ChipFilled)
Link copied to clipboard
fun View.popupMenuNoIcons(items: List<<Error class: unknown class><Int, Int>>, onMenuItemClick: MenuItem.() -> Unit): <Error class: unknown class>

id, stringRes

Link copied to clipboard
fun View.popupMenuNoIconsAndNoStringRes(items: List<<Error class: unknown class><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