Package-level declarations

Types

Link copied to clipboard

Interface that defines the actions available for the Keyboard Manager

Link copied to clipboard
interface FocusHandler

Common interface which handles the focus on a view.

Link copied to clipboard
data class UIKitFocusHandler(val view: UIView) : FocusHandler

A FocusHandler that focuses on a given UIView

Link copied to clipboard
class UIKitKeyboardManager(application: UIApplication) : BaseKeyboardManager<UIKitFocusHandler>

A BaseKeyboardManager that takes a UIKitFocusHandler. Used for managing the keyboard in UIKit views.

Link copied to clipboard
data class ValueFocusHandler<Value>(val value: Value) : FocusHandler

A FocusHandler that stores a given Value to focus on. This generic implementation allows for usage from SwiftUI.

Link copied to clipboard

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

Link copied to clipboard
data class ViewFocusHandler(@IdRes id: Int, handler: Handler) : FocusHandler

A FocusHandler that focuses on a view with a given ID.

Link copied to clipboard
class ViewKeyboardManager(lifecycleManagerObserver: LifecycleManagerObserver = LifecycleManagerObserver(), coroutineScope: CoroutineScope) : BaseKeyboardManager<ViewFocusHandler> , CoroutineScope

A BaseKeyboardManager that takes a ViewFocusHandler. Used managing the keyboard in XML Views.