public class CredentialsPreference
extends android.preference.DialogPreference
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CREDENTIALS_UPDATED |
protected java.lang.String |
credentialsType |
protected boolean |
passwordOnly |
protected android.view.View |
view |
| Constructor and Description |
|---|
CredentialsPreference(android.content.Context context,
android.util.AttributeSet attrs) |
CredentialsPreference(android.content.Context context,
android.util.AttributeSet attrs,
int defStyle)
Creates a credential preference screen that knows how to interact
with the AtakAuthenticationCredentials stored in ATAK
|
| Modifier and Type | Method and Description |
|---|---|
protected android.view.View |
onCreateDialogView() |
protected void |
onDialogClosed(boolean positiveResult) |
static void |
setContext(android.content.Context c)
For plugins we are REQUIRED to set the application context to the
ATAK owned Activity and not the context owned by the plugin.
|
protected void |
showDialog(android.os.Bundle bundle) |
getDialog, getDialogIcon, getDialogLayoutResource, getDialogMessage, getDialogTitle, getNegativeButtonText, getPositiveButtonText, onActivityDestroy, onBindDialogView, onClick, onClick, onDismiss, onPrepareDialogBuilder, onRestoreInstanceState, onSaveInstanceState, setDialogIcon, setDialogIcon, setDialogLayoutResource, setDialogMessage, setDialogMessage, setDialogTitle, setDialogTitle, setNegativeButtonText, setNegativeButtonText, setPositiveButtonText, setPositiveButtonTextcallChangeListener, compareTo, findPreferenceInHierarchy, getContext, getDependency, getEditor, getExtras, getFragment, getIcon, getIntent, getKey, getLayoutResource, getOnPreferenceChangeListener, getOnPreferenceClickListener, getOrder, getParent, getPersistedBoolean, getPersistedFloat, getPersistedInt, getPersistedLong, getPersistedString, getPersistedStringSet, getPreferenceDataStore, getPreferenceManager, getSharedPreferences, getShouldDisableView, getSummary, getTitle, getTitleRes, getView, getWidgetLayoutResource, hasKey, isEnabled, isIconSpaceReserved, isPersistent, isRecycleEnabled, isSelectable, isSingleLineTitle, notifyChanged, notifyDependencyChange, notifyHierarchyChanged, onAttachedToActivity, onAttachedToHierarchy, onBindView, onCreateView, onDependencyChanged, onGetDefaultValue, onParentChanged, onPrepareForRemoval, onSetInitialValue, peekExtras, persistBoolean, persistFloat, persistInt, persistLong, persistString, persistStringSet, restoreHierarchyState, saveHierarchyState, setDefaultValue, setDependency, setEnabled, setFragment, setIcon, setIcon, setIconSpaceReserved, setIntent, setKey, setLayoutResource, setOnPreferenceChangeListener, setOnPreferenceClickListener, setOrder, setPersistent, setPreferenceDataStore, setRecycleEnabled, setSelectable, setShouldDisableView, setSingleLineTitle, setSummary, setSummary, setTitle, setTitle, setWidgetLayoutResource, shouldCommit, shouldDisableDependents, shouldPersist, toStringpublic static final java.lang.String CREDENTIALS_UPDATED
protected android.view.View view
protected java.lang.String credentialsType
protected boolean passwordOnly
public CredentialsPreference(android.content.Context context,
android.util.AttributeSet attrs,
int defStyle)
context - the context to useattrs - the attributesdefStyle - the default stylepublic CredentialsPreference(android.content.Context context,
android.util.AttributeSet attrs)
public static void setContext(android.content.Context c)
protected android.view.View onCreateDialogView()
onCreateDialogView in class android.preference.DialogPreferenceprotected void onDialogClosed(boolean positiveResult)
onDialogClosed in class android.preference.DialogPreferenceprotected void showDialog(android.os.Bundle bundle)
showDialog in class android.preference.DialogPreference