Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

EditTextPreference

open class EditTextPreference : DialogPreference
kotlin.Any
   ↳ androidx.preference.Preference
   ↳ androidx.preference.DialogPreference
   ↳ androidx.preference.EditTextPreference

A DialogPreference that shows a EditText in the dialog.

This preference saves a string value.

Summary

Nested classes
abstract

Interface definition for a callback to be invoked when the corresponding dialog view for this preference is bound.

A simple androidx.preference.Preference.SummaryProvider implementation for an EditTextPreference.

Inherited constants
Public constructors
<init>(context: Context!, attrs: AttributeSet!, defStyleAttr: Int, defStyleRes: Int)

<init>(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

<init>(context: Context!, attrs: AttributeSet!)

<init>(context: Context!)

Public methods
open String!

Gets the text from the current data storage.

open Unit

Set an OnBindEditTextListener that will be invoked when the corresponding dialog view for this preference is bound.

open Unit
setText(text: String!)

Saves the text to the current data storage.

open Boolean

Protected methods
open Any!

open Unit

open Parcelable!

open Unit
onSetInitialValue(defaultValue: Any?)

Inherited functions