Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

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