Dialog New Page Factory
A factory for creating new pages using the NewPageDialog. This factory requires a to show the dialog.
Constructors
Link copied to clipboard
Constructor taking the required FragmentManager.
Constructor taking the required FragmentManager and an optional Size that should be used as default in the NewPageDialog.
constructor(@NonNull fragmentManager: FragmentManager, @Nullable documentPageSize: Size, @Nullable pageTemplates: List<PageTemplate>)
Constructor taking the required FragmentManager, an optional Size that should be used as default in the NewPageDialog, and optional PageTemplates for the user to choose from.
constructor(@NonNull fragmentManager: FragmentManager, @Nullable documentPageSize: Size, @Nullable pageTemplates: List<PageTemplate>, showPageTemplatesLast: Boolean)
Constructor taking the required FragmentManager, an optional Size that should be used as default in the NewPageDialog, and optional PageTemplates for the user to choose from.
Functions
Link copied to clipboard
This method is called every time the factory should create a NewPage instance.