ValueKeyboardManager

A BaseKeyboardManager that takes a ValueFocusHandler. Uses for managing keyboard in a generic way so that it allows for usage from SwiftUI.

Parameters

onFocusOnValue

callback method to indicate how to handle a focus change to a Value. When null is provided, they keyboard should be dismissed.

Type Parameters

Value

the type of value to expect

Constructors

Link copied to clipboard
constructor(onFocusOnValue: (Value?) -> Unit)

Functions

Link copied to clipboard
open override fun hide()

Dismisses the current keyboard

Link copied to clipboard
open override fun show(focusHandler: ValueFocusHandler<Value>)

Shows the keyboard for a given FH