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,["# LauncherActivity.ListItem\n\nAdded in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nListItem\n========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/app/LauncherActivity.ListItem \"View this page in Java\") \n\n```\nopen class ListItem\n```\n\n|---|--------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.app.LauncherActivity.ListItem](#) |\n\n*** ** * ** ***\n\n| **This class was deprecated in API level 30.**\n|\n| Deprecated in Java.\n\nAn item in the list\n\nSummary\n-------\n\n| Public constructors ||\n|------------------------------------|---|\n| [ListItem](#ListItem())`()` \u003cbr /\u003e |\n\n| Properties ||\n|------------------------------------------------------------------------------------------------|-------------------------------------------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | [className](#className:kotlin.String) \u003cbr /\u003e |\n| [Bundle](../os/Bundle.html#)! | [extras](#extras:android.os.Bundle) \u003cbr /\u003e |\n| [Drawable](../graphics/drawable/Drawable.html#)! | [icon](#icon:android.graphics.drawable.Drawable) \u003cbr /\u003e |\n| [CharSequence](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-sequence/index.html)! | [label](#label:kotlin.CharSequence) \u003cbr /\u003e |\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | [packageName](#packageName:kotlin.String) \u003cbr /\u003e |\n| [ResolveInfo](../content/pm/ResolveInfo.html#)! | [resolveInfo](#resolveInfo:android.content.pm.ResolveInfo) \u003cbr /\u003e |\n\nPublic constructors\n-------------------\n\n### ListItem\n\nAdded in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nListItem()\n```\n\nProperties\n----------\n\n### className\n\nAdded in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar className: String!\n```\n\n**Deprecated:** *Deprecated in Java.* \n\n### extras\n\nAdded in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar extras: Bundle!\n```\n\n**Deprecated:** *Deprecated in Java.* \n\n### icon\n\nAdded in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar icon: Drawable!\n```\n\n**Deprecated:** *Deprecated in Java.* \n\n### label\n\nAdded in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar label: CharSequence!\n```\n\n**Deprecated:** *Deprecated in Java.* \n\n### packageName\n\nAdded in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar packageName: String!\n```\n\n**Deprecated:** *Deprecated in Java.* \n\n### resolveInfo\n\nAdded in [API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar resolveInfo: ResolveInfo!\n```\n\n**Deprecated:** *Deprecated in Java.*"]]