| java.lang.Object | |||
| ↳ | androidx.fragment.app.Fragment | ||
| ↳ | androidx.fragment.app.DialogFragment | ||
| ↳ | com.pspdfkit.ui.AnnotationCreatorInputDialogFragment | ||
AnnotationCreatorInputDialogFragment facilitates setting the annotation creator.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| interface | AnnotationCreatorInputDialogFragment.OnAnnotationCreatorSetListener | This listener interface needs to be implemented by any class that wishes to handle AnnotationCreatorInputDialogFragment specific dialog events. |
|||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
androidx.fragment.app.DialogFragment
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
AnnotationCreatorInputDialogFragment()
Default constructor, do not call this constructor directly, unless you know what you are doing.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String |
getSuggestedCreator()
Obtains the suggested creator from the arguments
Bundle. | ||||||||||
| static void |
hide(FragmentManager manager)
Hides the
AnnotationCreatorInputDialogFragment. | ||||||||||
| void | onCreate(Bundle savedInstanceState) | ||||||||||
| Dialog | onCreateDialog(Bundle savedInstanceState) | ||||||||||
| void | onResume() | ||||||||||
| void | onSaveInstanceState(Bundle outState) | ||||||||||
| void | onViewCreated(View view, Bundle savedInstanceState) | ||||||||||
| void |
setOnAnnotationCreatorSetListener(AnnotationCreatorInputDialogFragment.OnAnnotationCreatorSetListener onAnnotationCreatorSetListener)
Sets a listener, that receives dialog related events.
| ||||||||||
| static void |
show(FragmentManager manager, String creatorSuggestion, AnnotationCreatorInputDialogFragment.OnAnnotationCreatorSetListener onAnnotationCreatorSetListener)
Shows the
AnnotationCreatorInputDialogFragment. | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
androidx.fragment.app.DialogFragment
| |||||||||||
From class
androidx.fragment.app.Fragment
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
android.content.ComponentCallbacks
| |||||||||||
From interface
android.content.DialogInterface.OnCancelListener
| |||||||||||
From interface
android.content.DialogInterface.OnDismissListener
| |||||||||||
From interface
android.view.View.OnCreateContextMenuListener
| |||||||||||
From interface
androidx.lifecycle.LifecycleOwner
| |||||||||||
From interface
androidx.lifecycle.ViewModelStoreOwner
| |||||||||||
Default constructor, do not call this constructor directly, unless you know what you are doing. Refer to show(FragmentManager, String)
Obtains the suggested creator from the arguments Bundle.
Hides the AnnotationCreatorInputDialogFragment.
| manager | The FragmentManager to use.
|
|---|
Sets a listener, that receives dialog related events. Calling this method will replace any previously set
listener. You may provide null to clear the listener.
| onAnnotationCreatorSetListener | AnnotationCreatorInputDialogFragment.OnAnnotationCreatorSetListener that should be notified, or null to clear the listener.
|
|---|
Shows the AnnotationCreatorInputDialogFragment. Will always attempt to obtain an existing instance.
| manager | The FragmentManager to use. |
|---|---|
| creatorSuggestion | Optional parameter: a creator suggestion that is displayed as the default value inside the input field. |
| onAnnotationCreatorSetListener | A listener that gets informed when the user sets or cancels setting a creator. |