Package-level declarations

Types

Link copied to clipboard

Base DialogFragment that cannot be canceled.

Functions

Link copied to clipboard
inline fun Menu.configureItem(@IdRes id: Int, configure: (MenuItem) -> Unit)

Finds a menu item by id and configures it.

Link copied to clipboard
fun crossVisualize(hideView: View, showView: View)

Hides hideView and shows showView.

fun crossVisualize(hideViews: Iterable<View>, showViews: Iterable<View>)

Hides hideViews and shows showViews.

Link copied to clipboard

Sets this view to View.INVISIBLE.

Link copied to clipboard

Expands this view's touch target on all sides by all pixels.

fun View.increaseTouchArea(@Px left: Int = 0, @Px top: Int = 0, @Px right: Int = 0, @Px bottom: Int = 0)

Expands this view's touch target by adjusting the hit rect.

Link copied to clipboard

Sets this view to View.GONE.

Link copied to clipboard
fun View.setDebouncedOnClickListener(interval: Long = 500, onClick: (View) -> Unit)

Sets a click listener that ignores rapid repeated taps.

Link copied to clipboard

Sets this view to View.VISIBLE.

Shows this DialogFragment with its class name as tag.