DialogType - The type of the dialog, which is created by the builderBuilderType - The type of the builderpublic abstract class AbstractScrollableDialogBuilder<DialogType extends ScrollableDialog,BuilderType extends AbstractScrollableDialogBuilder<DialogType,?>> extends AbstractListDialogBuilder<DialogType,BuilderType>
| Constructor and Description |
|---|
AbstractScrollableDialogBuilder(android.content.Context context)
Creates a new builder, which allows to create dialogs, which allow to create and show
dialogs, which are designed according to Android 5's Material Design guidelines even on
pre-Lollipop devices and may contain a scrollable content.
|
AbstractScrollableDialogBuilder(android.content.Context context,
int themeResourceId)
Creates a new builder, which allows to create dialogs, which allow to create and show
dialogs, which are designed according to Android 5's Material Design guidelines even on
pre-Lollipop devices and may contain a scrollable content.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
obtainStyledAttributes(int themeResourceId)
Obtains all relevant attributes from the current theme.
|
BuilderType |
showDividersOnScroll(boolean show)
Sets, whether dividers, which are located above and below the list view of the dialog, which
is created by the builder, should be shown, when the list view is scrolled, or not.
|
setAdapter, setItemColor, setItems, setItems, setMultiChoiceItems, setMultiChoiceItems, setMultiChoiceItems, setOnItemSelectedListener, setSingleChoiceItems, setSingleChoiceItems, setSingleChoiceItemssetButtonBarDividerColor, setButtonTextColor, setNegativeButton, setNegativeButton, setNeutralButton, setNeutralButton, setPositiveButton, setPositiveButton, showButtonBarDivider, stackButtonsaddAllValidators, addValidatorsetHeaderBackground, setHeaderBackground, setHeaderBackgroundColor, setHeaderDividerColor, setHeaderHeight, setHeaderIcon, setHeaderIcon, showHeader, showHeaderDividercreate, getContext, getDialog, onCreateDialog, self, setBackground, setBackground, setBackgroundColor, setCancelable, setCustomMessage, setCustomMessage, setCustomTitle, setCustomTitle, setIcon, setIcon, setIconAttribute, setMessage, setMessage, setMessageColor, setOnCancelListener, setOnDismissListener, setOnShowListener, setTitle, setTitle, setTitleColor, setView, setViewpublic AbstractScrollableDialogBuilder(android.content.Context context)
context - The context, which should be used by the builder, as an instance of the class Context. The context may not be nullpublic AbstractScrollableDialogBuilder(android.content.Context context,
int themeResourceId)
context - The context, which should be used by the builder, as an instance of the class Context. The context may not be nullthemeResourceId - The resource id of the theme, which should be used by the dialog, as an Integer value. The resource id must correspond to a valid themepublic final BuilderType showDividersOnScroll(boolean show)
show - True, if the dividers, which are located above and below the dialog's list view,
should be shown, when the list view is scrolled, false otherwiseprotected void obtainStyledAttributes(int themeResourceId)
AbstractMaterialDialogBuilderobtainStyledAttributes in class AbstractListDialogBuilder<DialogType extends ScrollableDialog,BuilderType extends AbstractScrollableDialogBuilder<DialogType,?>>themeResourceId - The resource id of the theme, which should be used by the dialog, as an Integer value. The resource id must correspond to a valid style resource