public abstract class

BaseBottomDialogFragment

extends DialogFragment
java.lang.Object
   ↳ DialogFragment
     ↳ com.pdftron.pdf.dialog.base.BaseBottomDialogFragment
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

A dialog fragment that is a bottom sheet on small devices and a popup dialog on tablets.

Summary

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

Public Constructors

public BaseBottomDialogFragment ()

Public Methods

public void dismiss (boolean waitBottomSheet)

Wrapper for dismiss where it will check lifecycle on the fragment to prevent crash when dismissing while backgrounded

Parameters
waitBottomSheet whether to wait for bottom sheet to collapse.

public void dismiss ()

Dismiss the dialog

public void onConfigurationChanged (Configuration newConfig)

public void onCreate (Bundle savedInstanceState)

public Dialog onCreateDialog (Bundle savedInstanceState)

public View onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)

public void onSaveInstanceState (Bundle outState)

public void onViewCreated (View view, Bundle savedInstanceState)

public void onViewStateRestored (Bundle savedInstanceState)

public void setOnDismissListener (DialogInterface.OnDismissListener listener)

Sets on dismiss listener

Parameters
listener dismiss listener

public void show (FragmentManager fragmentManager)

Show the dialog