Property Inspector
open class PropertyInspector : ViewGroup, BottomSheetContentViewInterface, PropertyInspectorController, View.OnClickListener, PropertyInspectorTitleButtonListener
Top level layout of the generic properties inspector. Contains title and scrollable list of PropertyInspectorView.
Inheritors
Types
Link copied to clipboard
An ItemDecoration allows the application to add custom drawing to specific inspector views.
Link copied to clipboard
interface OnCancelListener
Listener for inspector cancellation.
Link copied to clipboard
interface OnInspectorTitleButtonClickListener
Listener for the buttons on the property inspector title
Properties
Functions
Link copied to clipboard
open fun addInspectorView(@NonNull inspectorView: PropertyInspectorView, @IntRange(from = 0 ) location: Int)
Add new view to inspector layout.
Link copied to clipboard
Adds an ItemDecoration to this inspector.
Link copied to clipboard
Custom back key handling to implement navigation from detail view.
Link copied to clipboard
Handle touches outside edit text so focus is released.
Link copied to clipboard
Scrolls to inspector view when its not fully visible in property inspector.
Link copied to clipboard
Retrieve PropertyInspectorView at specified location.
Link copied to clipboard
Returns the number of PropertyInspectorViews inside inspector.
Link copied to clipboard
Retrieve detail view that is currently visible in the property inspector.
Link copied to clipboard
Hide view shown in showDetailView.
Link copied to clipboard
Find index of specified inspector view.
Link copied to clipboard
Returns True when the inspector should be cancelled when touched outside of its bounds.
Link copied to clipboard
Handles the back-button click on the inspector title.
Link copied to clipboard
Handles the close-button click on the inspectore title.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Removes all inspector views from inspector.
Link copied to clipboard
Removes all ItemDecorations from this inspector.
Link copied to clipboard
Removes inspector view from inspector.
Link copied to clipboard
Removes an ItemDecoration from this inspector.
Link copied to clipboard
Sets a listener to be notified of a cancellation.
Link copied to clipboard
Make inspector request PropertyInspectorCoordinatorLayout to be cancelled when touched outside its bounds.
Link copied to clipboard
Sets list of inspector views to be displayed in property inspector.
open fun setInspectorViews(@NonNull inspectorViews: List<PropertyInspectorView>, animate: Boolean, @Nullable titleButtonListener: PropertyInspectorTitleButtonListener, @Nullable titleStyleProvider: PropertyInspectorViewTitleStyleProvider)
Link copied to clipboard
Controls inspector title bar visibility.
Link copied to clipboard