PropertyInspectorCoordinatorLayout

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:

We recommend to use these controllers instead of manually managing your UI.

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, @AttrRes defStyleAttr: Int)

Functions

Link copied to clipboard
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
Removes previously registered listener for lifecycle changes of the PropertyInspector as it goes through the PropertyInspectorCoordinatorLayout - preparing, displaying, removing.
Link copied to clipboard
open fun setBottomInset(bottomInset: Int)
Sets bottom inset for displayed PropertyInspectors.
Link copied to clipboard
open fun setDrawUnderBottomInset(showInspectorViewsUnderBottomInset: Boolean)
Controls whether inspector contents are drawn under bottom insets (system or set via setBottomInset.
Link copied to clipboard
open fun setFitsSystemWindows(fitSystemWindows: Boolean)
Link copied to clipboard
open fun showInspector(@NonNull propertyInspector: PropertyInspector, animate: Boolean): Boolean
Displays property inspector.