toggleFilter

abstract fun toggleFilter(index: Int)

Toggles the selection state of the filter at the given index.

If the filter is currently selected, it will be deselected, and vice versa.

Parameters

index

The index of the filter to toggle.