SettingTextInput

data class SettingTextInput(val title: String, val key: String, val summary: String? = null, val defaultValue: String? = null) : Setting

A setting that allows the user to input a string. Value can be accessed from Settings.getString, recommended to use String.isNullOrBlank.

Parameters

title

The title of the setting.

key

The key of the setting.

summary

The summary of the setting.

defaultValue

The default value of the setting.

Constructors

Link copied to clipboard
constructor(title: String, key: String, summary: String? = null, defaultValue: String? = null)

Properties

Link copied to clipboard
val defaultValue: String? = null
Link copied to clipboard
open override val key: String
Link copied to clipboard
val summary: String? = null
Link copied to clipboard
open override val title: String