Stay organized with collections
Save and categorize content based on your preferences.
FilterResults
protected open class FilterResults
Holds the results of a filtering operation. The results are the values computed by the filtering operation and the number of these values.
Summary
Properties |
Int |
Contains the number of values computed by the filtering operation.
|
Any! |
Contains all the values computed by the filtering operation.
|
Public constructors
FilterResults
FilterResults()
Properties
count
var count: Int
Contains the number of values computed by the filtering operation.
values
var values: Any!
Contains all the values computed by the filtering operation.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# Filter.FilterResults\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nFilterResults\n=============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/widget/Filter.FilterResults \"View this page in Java\") \n\n```\nprotected open class FilterResults\n```\n\n|---|------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.widget.Filter.FilterResults](#) |\n\nHolds the results of a filtering operation. The results are the values computed by the filtering operation and the number of these values.\n\nSummary\n-------\n\n| Public constructors ||\n|----------------------------------------------|---|\n| [FilterResults](#FilterResults())`()` \u003cbr /\u003e |\n\n| Properties ||\n|-----------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------|\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [count](#count:kotlin.Int) Contains the number of values computed by the filtering operation. |\n| [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)! | [values](#values:kotlin.Any) Contains all the values computed by the filtering operation. |\n\nPublic constructors\n-------------------\n\n### FilterResults\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nFilterResults()\n```\n\nProperties\n----------\n\n### count\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar count: Int\n```\n\nContains the number of values computed by the filtering operation. \n\n### values\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar values: Any!\n```\n\nContains all the values computed by the filtering operation."]]