Class OptionPickerInspectorView

  • All Implemented Interfaces:
    android.graphics.drawable.Drawable.Callback , android.text.NoCopySpan , android.text.TextWatcher , android.view.KeyEvent.Callback , android.view.View.OnClickListener , android.view.View.OnFocusChangeListener , android.view.ViewManager , android.view.ViewParent , android.view.accessibility.AccessibilityEventSource , com.pspdfkit.ui.inspector.PropertyInspectorView

    
    public final class OptionPickerInspectorView
    extends FrameLayout implements PropertyInspectorView, View.OnClickListener, View.OnFocusChangeListener, TextWatcher
                        

    Picker for picking values from fixed list of options.

    • Constructor Detail

      • OptionPickerInspectorView

        OptionPickerInspectorView(Context context, List<String> options, List<Integer> defaultSelectedOptions, boolean isMultiSelectEnabled, boolean isEditable, String defaultCustomValue, OptionPickerInspectorView.OnOptionPickedListener listener)
        Construct options picker.
        Parameters:
        context - The context to use.
        options - List of available options.
        defaultSelectedOptions - Indexes of selected options.
        isMultiSelectEnabled - Whether the options can be multi selected or only single option can be selected at a time.
        isEditable - Whether custom value is supported.
        defaultCustomValue - Default custom value.
        listener - Listener for color picker changes.