Property Inspector Coordinator Layout
open class PropertyInspectorCoordinatorLayout : CoordinatorLayout, PropertyInspectorCoordinatorLayoutController
This layout is responsible for handling PropertyInspectors. It is used in , but it can be added to any view group, for example to the root view of the custom activity.
PSPDFKit ships with property inspector controllers that manage property inspector lifecycle for built in inspectors:
- AnnotationCreationInspectorController - manages annotation properties inspector in annotation creation mode
- AnnotationEditingInspectorController - manages annotation properties inspector in annotation editing mode
- FormEditingInspectorController - manages bottom sheet displayed when filling choice form elements
We recommend to use these controllers instead of manually managing your UI.
Functions
Link copied to clipboard
open fun addPropertyInspectorLifecycleListener(@NonNull lifecycleListener: PropertyInspectorCoordinatorLayoutController.PropertyInspectorLifecycleListener)
Adds the listener for lifecycle changes of the PropertyInspector as it goes through the PropertyInspectorCoordinatorLayout - preparing, displaying, removing.
Link copied to clipboard
Removes active inspector if visible.
Link copied to clipboard
Tests if coordinator has any active inspector currently visible.
Tests if
inspector
is currently active in coordinator.Link copied to clipboard
Link copied to clipboard
open fun removePropertyInspectorLifecycleListener(@NonNull lifecycleListener: PropertyInspectorCoordinatorLayoutController.PropertyInspectorLifecycleListener)
Removes previously registered listener for lifecycle changes of the PropertyInspector as it goes through the PropertyInspectorCoordinatorLayout - preparing, displaying, removing.
Link copied to clipboard
Sets bottom inset for displayed PropertyInspectors.
Link copied to clipboard
Controls whether inspector contents are drawn under bottom insets (system or set via setBottomInset.
Link copied to clipboard
Link copied to clipboard
Displays property inspector.