Filters value object
The Filters object is returned from the getFilters
method and is an ordered list of filter field names.
You can create a filter drop-down list for each item
in the fieldNames
list. Set the label of the drop-down list to the
String value of the fieldNames
list. The Filters object also
contains an array of filter values associated with each filter field name with the
label
, which is the text to display in the drop-down list and
the value
, which is the field value associated with that label. The
label can be the same as the value.
class Filters extends TopicsServiceResult {
ArrayList<String> fieldNames;
ArrayList<FieldValuePairGenerated> values;
}
class FieldValuePairGenerated {
FieldValuePair[] values;
}
class FieldValuePair {
String label;
FieldValue value;
}
Parent topic: Get filters