java.lang.Object | ||
↳ | DialogFragment | |
↳ | com.pdftron.pdf.dialog.base.BaseBottomDialogFragment |
Known Direct Subclasses |
Known Indirect Subclasses |
A dialog fragment that is a bottom sheet on small devices and a popup dialog on tablets.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BaseBottomDialogFragment() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
dismiss(boolean waitBottomSheet)
Wrapper for dismiss where it will check lifecycle on the fragment to prevent crash when
dismissing while backgrounded
| ||||||||||
void |
dismiss()
Dismiss the dialog
| ||||||||||
void | onConfigurationChanged(Configuration newConfig) | ||||||||||
void | onCreate(Bundle savedInstanceState) | ||||||||||
Dialog | onCreateDialog(Bundle savedInstanceState) | ||||||||||
View | onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) | ||||||||||
void | onSaveInstanceState(Bundle outState) | ||||||||||
void | onViewCreated(View view, Bundle savedInstanceState) | ||||||||||
void | onViewStateRestored(Bundle savedInstanceState) | ||||||||||
void |
setOnDismissListener(DialogInterface.OnDismissListener listener)
Sets on dismiss listener
| ||||||||||
void |
show(FragmentManager fragmentManager)
Show the dialog
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Wrapper for dismiss where it will check lifecycle on the fragment to prevent crash when dismissing while backgrounded
waitBottomSheet | whether to wait for bottom sheet to collapse. |
---|
Dismiss the dialog
Sets on dismiss listener
listener | dismiss listener |
---|
Show the dialog