setFilters

fun setFilters(filterObject: FilterObject)

Allows us to change the filter based on our requirements.

Has no effect on view models constructed for a predefined-filter query — the predefined identity is fixed at construction. A warning is logged in that case.

Parameters

filterObject

The new filter to be applied to the query which lets us fetch different data.