Stay organized with collections
Save and categorize content based on your preferences.
FixedViewInfo
open class FixedViewInfo
A class that represents a fixed view in a list, for example a header at the top or a footer at the bottom.
Summary
Properties |
Any! |
The data backing the view.
|
Boolean |
true if the fixed view should be selectable in the list
|
View! |
The view to add to the list
|
Public constructors
FixedViewInfo
FixedViewInfo()
Properties
isSelectable
var isSelectable: Boolean
true
if the fixed view should be selectable in the list
view
var view: View!
The view to add to the list
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,["# ListView.FixedViewInfo\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nFixedViewInfo\n=============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/widget/ListView.FixedViewInfo \"View this page in Java\") \n\n```\nopen class FixedViewInfo\n```\n\n|---|--------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.widget.ListView.FixedViewInfo](#) |\n\nA class that represents a fixed view in a list, for example a header at the top or a footer at the bottom.\n\nSummary\n-------\n\n| Public constructors ||\n|----------------------------------------------|---|\n| [FixedViewInfo](#FixedViewInfo())`()` \u003cbr /\u003e |\n\n| Properties ||\n|------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|\n| [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)! | [data](#data:kotlin.Any) The data backing the view. |\n| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [isSelectable](#isSelectable:kotlin.Boolean) `true` if the fixed view should be selectable in the list |\n| [View](../view/View.html#)! | [view](#view:android.view.View) The view to add to the list |\n\nPublic constructors\n-------------------\n\n### FixedViewInfo\n\n```\nFixedViewInfo()\n```\n\nProperties\n----------\n\n### data\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar data: Any!\n```\n\nThe data backing the view. This is returned from [ListAdapter.getItem(int)](/reference/kotlin/android/widget/Adapter#getItem(kotlin.Int)). \n\n### isSelectable\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar isSelectable: Boolean\n```\n\n`true` if the fixed view should be selectable in the list \n\n### view\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar view: View!\n```\n\nThe view to add to the list"]]