Package com.tomtom.tools.android.api.uicontrols.textinputfield

Types

Link copied to clipboard
interface AfterInputTextChangedListener

A convenience interface that gets called when TextWatcher.afterTextChanged is called.

Link copied to clipboard
interface BeforeInputTextChangedListener

A convenience interface that gets called when TextWatcher.beforeTextChanged is called.

Link copied to clipboard
interface OnInputTextChangedListener

A convenience interface that gets called when TextWatcher.onTextChanged is called.

Link copied to clipboard
class TtTextInputField @JvmOverloads constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int) : FrameLayout

A reusable UI control to let the user enter text.

Functions

Link copied to clipboard
fun TtTextInputField.getTtInputText(): String?

An inverse binding adapter that adds support for two-way data binding for TtTextInputField.ttInputText.

Link copied to clipboard
fun TtTextInputField.setInputTextWatcher(before: BeforeInputTextChangedListener?, on: OnInputTextChangedListener?, after: AfterInputTextChangedListener?, inputTextChanged: InverseBindingListener?)

A binding adapter that adds support for two-way data binding for TtTextInputField.ttInputText.