public interface

EditTextPreference.OnBindEditTextListener

 androidx.preference.EditTextPreference.OnBindEditTextListener

Overview

Interface definition for a callback to be invoked when the corresponding dialog view for this preference is bound. This allows you to customize the displayed in the dialog, such as setting a max length or a specific input type.

Summary

Methods
public voidonBindEditText(EditText editText)

Called when the dialog view for this preference has been bound, allowing you to customize the displayed in the dialog.

Methods

public void onBindEditText(EditText editText)

Called when the dialog view for this preference has been bound, allowing you to customize the displayed in the dialog.

Parameters:

editText: The displayed in the dialog