Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ADS_DEFAULT_BUTTON_COLOR - Static variable in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Default button color.
B
- Builder(Context) - Constructor for class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Creates a builder for an alert dialog that uses the default alert dialog theme.
- Builder(Context, int) - Constructor for class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Creates a builder for an alert dialog that uses an explicit theme resource.
- Builder(Context, DynamicDialog.Builder) - Constructor for class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Copy constructor to create a builder for another builder.
C
- com.pranavpandey.android.dynamic.dialogs - package com.pranavpandey.android.dynamic.dialogs
- com.pranavpandey.android.dynamic.dialogs.fragment - package com.pranavpandey.android.dynamic.dialogs.fragment
- create() - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Creates an
DynamicDialogwith the arguments supplied to this builder.
D
- DynamicDialog - Class in com.pranavpandey.android.dynamic.dialogs
-
A subclass of Dialog that can display one, two or three buttons.
- DynamicDialog(Context) - Constructor for class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
- DynamicDialog(Context, boolean, DialogInterface.OnCancelListener) - Constructor for class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
-
Construct an DynamicDialog that uses an explicit theme.
- DynamicDialog(Context, int) - Constructor for class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
-
Construct an DynamicDialog that uses an explicit theme.
- DynamicDialog.Builder - Class in com.pranavpandey.android.dynamic.dialogs
- DynamicDialogFragment - Class in com.pranavpandey.android.dynamic.dialogs.fragment
-
Base dialog fragment to provide all the functionality of
DynamicDialoginside a fragment. - DynamicDialogFragment() - Constructor for class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
F
- finishActivity() - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Finish the parent activity by calling
Activity.finish().
G
- getBuilder() - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
The dynamic dialog builder set for this fragment.
- getButton(int) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
-
Gets one of the buttons used in the dialog.
- getButtonColor() - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Get the button color set for the dialog.
- getContext() - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Returns a
Contextwith the appropriate theme for dialogs created by this Builder. - getDynamicDialog() - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Returns the dialog shown by this fragment.
- getListView() - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
-
Gets the list view used in the dialog.
- getNegativeButtonText() - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Get the negative button text set for the dialog.
- getNeutralButtonText() - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Get the neutral button text set for the dialog.
- getOnCancelListener() - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Get the on cancel listener set for the dialog.
- getOnDismissListener() - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Get the on dismiss listener set for the dialog.
- getOnKeyListener() - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Get the on key listener set for the dialog.
- getOnShowListener() - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Get the on show listener set for the dialog.
- getPositiveButtonText() - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Get the positive button text set for the dialog.
- getProductFlavor() - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
- getView() - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
-
Get the view displayed in the dialog.
I
- isAutoDismiss() - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Returns whether the dialog is auto dismissible.
- isCancelable() - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Returns whether this dialog is cancelable.
- isOnSharedPreferenceChangeListener() - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Returns whether to register a shared preferences listener for this fragment.
N
- newInstance() - Static method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Initialize the new instance of this fragment.
O
- onCancel(DialogInterface) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
- onCreate(Bundle) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
- onCreate(Bundle) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
- onCreateDialog(Bundle) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
- onCustomiseBuilder(DynamicDialog.Builder, Bundle) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Override this method to customise the dynamic dialog builder before creating the dialog.
- onCustomiseDialog(DynamicDialog, Bundle) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Deprecated.
- onCustomiseDialog(DynamicDialog, View, Bundle) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Override this method to customise the dynamic dialog before attaching it with this fragment.
- onDestroyView() - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
- onDismiss(DialogInterface) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
- onKeyDown(int, KeyEvent) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
- onKeyUp(int, KeyEvent) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
- onPause() - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
- onResume() - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
- onSharedPreferenceChanged(SharedPreferences, String) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
S
- setAdapter(ListAdapter, DialogInterface.OnClickListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set a list of items, which are supplied by the given
ListAdapter, to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener. - setAutoDismiss(boolean) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Control whether the dialog is auto dismissible.
- setBuilder(DynamicDialog.Builder) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Sets a dynamic dialog builder for this dialog fragment.
- setButton(int, CharSequence, DialogInterface.OnClickListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
-
Sets a listener to be invoked when the positive button of the dialog is pressed.
- setButton(int, CharSequence, Drawable, DialogInterface.OnClickListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
-
Sets an icon to be displayed along with the button text and a listener to be invoked when the positive button of the dialog is pressed.
- setButton(int, CharSequence, Message) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
-
Sets a message to be sent when a button is pressed.
- setButtonColor(int) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Set the button color for the dialog.
- setCancelable(boolean) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Sets whether the dialog is cancelable or not.
- setCursor(Cursor, DialogInterface.OnClickListener, String) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set a list of items, which are supplied by the given
Cursor, to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener. - setCustomTitle(View) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set the title using the custom view
customTitleView. - setCustomTitle(View) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
-
This method has no effect if called after
Dialog.show(). - setIcon(int) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set the resource id of the
Drawableto be used in the title. - setIcon(int) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
-
Set resId to 0 if you don't want an icon.
- setIcon(Drawable) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set the
Drawableto be used in the title. - setIcon(Drawable) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
-
Set the
Drawableto be used in the title. - setIconAttribute(int) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set an icon as supplied by a theme attribute.
- setIconAttribute(int) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
-
Sets an icon as supplied by a theme attribute.
- setInverseBackgroundForced(boolean) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Deprecated.This flag is only used for pre-Material themes. Instead, specify the window background using on the alert dialog theme.
- setIsCancelable(boolean) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Control whether the dialog is cancelable.
- setItems(int, DialogInterface.OnClickListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
- setItems(CharSequence[], DialogInterface.OnClickListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
- setMessage(int) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set the message to display using the given resource id.
- setMessage(CharSequence) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set the message to display.
- setMessage(CharSequence) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
-
Sets the message to display.
- setMultiChoiceItems(int, boolean[], DialogInterface.OnMultiChoiceClickListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
- setMultiChoiceItems(Cursor, String, String, DialogInterface.OnMultiChoiceClickListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
- setMultiChoiceItems(CharSequence[], boolean[], DialogInterface.OnMultiChoiceClickListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
- setNegativeButton(int, DialogInterface.OnClickListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set a listener to be invoked when the negative button of the dialog is pressed.
- setNegativeButton(CharSequence, DialogInterface.OnClickListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set a listener to be invoked when the negative button of the dialog is pressed.
- setNegativeButtonIcon(Drawable) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set an icon to be displayed for the negative button.
- setNegativeButtonText(CharSequence) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Set the negative button text set for the dialog.
- setNeutralButton(int, DialogInterface.OnClickListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set a listener to be invoked when the neutral button of the dialog is pressed.
- setNeutralButton(CharSequence, DialogInterface.OnClickListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set a listener to be invoked when the neutral button of the dialog is pressed.
- setNeutralButtonIcon(Drawable) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set an icon to be displayed for the neutral button.
- setNeutralButtonText(CharSequence) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Set the neutral button text set for the dialog.
- setOnCancelListener(DialogInterface.OnCancelListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Sets the callback that will be called if the dialog is canceled.
- setOnCancelListener(DialogInterface.OnCancelListener) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Set an on cancel listener for the dialog.
- setOnDismissListener(DialogInterface.OnDismissListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Sets the callback that will be called when the dialog is dismissed for any reason.
- setOnDismissListener(DialogInterface.OnDismissListener) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Set an on dismiss listener for the dialog.
- setOnItemSelectedListener(AdapterView.OnItemSelectedListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Sets a listener to be invoked when an item in the list is selected.
- setOnKeyListener(DialogInterface.OnKeyListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Sets the callback that will be called if a key is dispatched to the dialog.
- setOnKeyListener(DialogInterface.OnKeyListener) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Set an on key listener for the dialog.
- setOnShowListener(DialogInterface.OnShowListener) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Set an show listener for the dialog.
- setPositiveButton(int, DialogInterface.OnClickListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set a listener to be invoked when the positive button of the dialog is pressed.
- setPositiveButton(CharSequence, DialogInterface.OnClickListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set a listener to be invoked when the positive button of the dialog is pressed.
- setPositiveButtonIcon(Drawable) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set an icon to be displayed for the positive button.
- setPositiveButtonText(CharSequence) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Set the positive button text set for the dialog.
- setRecycleOnMeasureEnabled(boolean) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set whether to enable recycle on enabled fo the dialog.
- setSingleChoiceItems(int, int, DialogInterface.OnClickListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
- setSingleChoiceItems(Cursor, int, String, DialogInterface.OnClickListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
- setSingleChoiceItems(ListAdapter, int, DialogInterface.OnClickListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
- setSingleChoiceItems(CharSequence[], int, DialogInterface.OnClickListener) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
- setTitle(int) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set the title using the given resource id.
- setTitle(CharSequence) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set the title displayed in the
Dialog. - setTitle(CharSequence) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
- setView(int) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set a custom view resource to be the contents of the Dialog.
- setView(View) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Sets a custom view to be the contents of the alert dialog.
- setView(View) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
-
Set the view to display in the dialog.
- setView(View, int, int, int, int) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
-
Set the view to display in the dialog, specifying the spacing to appear around that view.
- setViewRoot(int) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set the view root id to add scroll indicators if the content can be scrolled.
- setViewRoot(View) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Set the view root to add scroll indicators if the content can be scrolled.
- setViewRoot(View) - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog
-
Set the view root to add scroll indicators if the content can be scrolled.
- show() - Method in class com.pranavpandey.android.dynamic.dialogs.DynamicDialog.Builder
-
Creates an
DynamicDialogwith the arguments supplied to this builder and immediately displays the dialog. - showDialog(FragmentActivity) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Show this dialog fragment and attach it to the supplied activity.
- showDialog(FragmentActivity, String) - Method in class com.pranavpandey.android.dynamic.dialogs.fragment.DynamicDialogFragment
-
Show this dialog fragment and attach it to the supplied activity.
All Classes and Interfaces|All Packages|Constant Field Values
onCustomiseDialog(DynamicDialog, View, Bundle)for better customization.