App Context Utils
Types
Link copied to clipboard
abstract class DiffAdapter<T>(val items: MutableList<T>, val comparison: (first: T, second: T) -> Boolean = { first, second ->
first.hashCode() == second.hashCode()
})
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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.openBrowser(url: String, fallbackWebview: Boolean = false, fragment: <Error class: unknown class>? = null): Unit?
If fallbackWebview is true and a fragment is supplied then it will open a webview with the url if the browser fails.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <Error class: unknown class>.setDefaultFocus(buttonFocus: Int = DialogInterface.BUTTON_NEGATIVE)
Sets the focus to the negative button when in TV and Emulator layout.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard