onFocusChange

open fun onFocusChange(v: View, hasFocus: Boolean)

Handles focus changes on the custom value input field. Adjusts the soft keyboard behavior when the field gains or loses focus.

Parameters

v

The view whose focus state has changed.

hasFocus

true if the view has focus, false otherwise.