Package com.pspdfkit.forms
Interface FormListeners.OnChoiceFormFieldUpdatedListener
-
- All Implemented Interfaces:
public interface FormListeners.OnChoiceFormFieldUpdatedListener
Listener for ChoiceFormField updates.
-
-
Method Summary
Modifier and Type Method Description abstract void
onOptionSelected(@NonNull() ChoiceFormField formField, @NonNull() ChoiceFormElement formElement, @NonNull() List<Integer> selectedOptionIndexes)
Called when choice field option has been selected. abstract void
onCustomOptionSet(@NonNull() ChoiceFormField formField, @NonNull() ChoiceFormElement formElement, @Nullable() String customOption)
Called when custom option has been set in choice field. -
-
Method Detail
-
onOptionSelected
@UiThread() abstract void onOptionSelected(@NonNull() ChoiceFormField formField, @NonNull() ChoiceFormElement formElement, @NonNull() List<Integer> selectedOptionIndexes)
Called when choice field option has been selected.
- Parameters:
formField
- Updated form field.formElement
- Form element that has been changed.selectedOptionIndexes
- List of indexes of selected options.
-
onCustomOptionSet
@UiThread() abstract void onCustomOptionSet(@NonNull() ChoiceFormField formField, @NonNull() ChoiceFormElement formElement, @Nullable() String customOption)
Called when custom option has been set in choice field.
- Parameters:
formField
- Updated form field.formElement
- Form element that has been changed.customOption
- Custom option text ornull
to clear.
-
-
-
-