Path_Preference

abstract class Path_Preference

Enhanced path display

Author

"Martin Krischik" «krischik@users.sourceforge.net»

Constructors

Link copied to clipboard
protected constructor(Context: Context, attrs: AttributeSet)
Perform inflation from XML and apply a class-specific base style.

Types

Link copied to clipboard
protected open class Item
spinner item
Link copied to clipboard
protected open class Spinner_Listener
changes the value depending on a set of predefined options

Properties

Link copied to clipboard
protected val Context: Context
Application context to use
Link copied to clipboard
private val Default_Value: File
the default preference value
Link copied to clipboard
protected open var Spinner: Spinner
Spinner with default values
Link copied to clipboard
private val TAG: String
logging tag
Link copied to clipboard
protected open var Text: TextView
Text containing the value chosen
Link copied to clipboard
private open var Value: String
the current preference value.

Functions

Link copied to clipboard
protected open fun Get_Adapter(Shared_Name: String): ArrayAdapter<Item>
get adapter with well known path names
Link copied to clipboard
protected open fun onBindDialogView(View: View)
Link copied to clipboard
protected open fun onCreateDialogView(): View
Creates the content view for the dialog (if a custom content view is required).
Link copied to clipboard
protected open fun onDialogClosed(positiveResult: Boolean)
Link copied to clipboard
protected open fun onSetInitialValue(restorePersistedValue: Boolean, defaultValue: Any)
called when the preferences are created.
Link copied to clipboard
open fun toString(): String