lightbulb_outline Please take our October 2018 developer survey. Start survey
added in version 24.1.0
belongs to Maven artifact com.android.support:preference-v7:28.0.0-alpha1

MultiSelectListPreferenceDialogFragment

public class MultiSelectListPreferenceDialogFragment
extends PreferenceDialogFragment

java.lang.Object
   ↳ android.app.Fragment
     ↳ android.app.DialogFragment
       ↳ android.support.v14.preference.PreferenceDialogFragment
         ↳ android.support.v14.preference.MultiSelectListPreferenceDialogFragment


Summary

Inherited constants

From class android.support.v14.preference.PreferenceDialogFragment
From class android.app.DialogFragment
From interface android.content.ComponentCallbacks2

Public constructors

MultiSelectListPreferenceDialogFragment()

Public methods

static MultiSelectListPreferenceDialogFragment newInstance(String key)
void onCreate(Bundle savedInstanceState)
void onDialogClosed(boolean positiveResult)
void onSaveInstanceState(Bundle outState)

Protected methods

void onPrepareDialogBuilder(AlertDialog.Builder builder)

Prepares the dialog builder to be shown when the preference is clicked.

Inherited methods

From class android.support.v14.preference.PreferenceDialogFragment
From class android.app.DialogFragment
From class android.app.Fragment
From class java.lang.Object
From interface android.content.DialogInterface.OnClickListener
From interface android.content.DialogInterface.OnCancelListener
From interface android.content.DialogInterface.OnDismissListener
From interface android.content.ComponentCallbacks2
From interface android.view.View.OnCreateContextMenuListener
From interface android.content.ComponentCallbacks

Public constructors

MultiSelectListPreferenceDialogFragment

added in version 24.1.0
MultiSelectListPreferenceDialogFragment ()

Public methods

newInstance

added in version 24.1.0
MultiSelectListPreferenceDialogFragment newInstance (String key)

Parameters
key String

Returns
MultiSelectListPreferenceDialogFragment

onCreate

void onCreate (Bundle savedInstanceState)

Parameters
savedInstanceState Bundle

onDialogClosed

added in version 24.1.0
void onDialogClosed (boolean positiveResult)

Parameters
positiveResult boolean

onSaveInstanceState

void onSaveInstanceState (Bundle outState)

Parameters
outState Bundle

Protected methods

onPrepareDialogBuilder

added in version 24.1.0
void onPrepareDialogBuilder (AlertDialog.Builder builder)

Prepares the dialog builder to be shown when the preference is clicked. Use this to set custom properties on the dialog.

Do not create() or show().

Parameters
builder AlertDialog.Builder