1# Onboarding to Compose for TV libraries 2 3## Learn about Jetpack Compose 41. The [Compose landing page][compose-landing-page] provides an overview of Compose and its features. 52. The [Compose Quick Tutorial][compose-quick-tutorial] walks you through the basics of Compose using code examples. 63. The [Compose Course][compose-course] is a more comprehensive guide to Compose, covering topics such as layout, animations, and state management. 7 8 9## Learn about Compose for TV 101. Explore the [available components][tv-components] and the [design patterns][good-design-patterns] that Google recommends. 112. Consult the documentation for information on the packages and various components available. 12 * [tv-foundation][tv-foundation] 13 * [tv-foundation-lazy-list][tv-foundation-lazy-list] 14 * [tv-foundation-lazy-grid][tv-foundation-lazy-grid] 15 * [tv-material][tv-material] 163. Refer to the documentation and examples on [developer.android.com][dac]. 174. Get up to speed with the [codelabs][codelabs]. 185. Find the sample app on [GitHub][github-sample-app]. 19 20## If you run into issues 211. Make sure that you are using the most recent version of [Compose for TV libraries][compose-for-tv-libraries] 22 and Jetpack compose. 232. Read the FAQs below. 243. Check with the community over on [stack overflow][stackoverflow]. 254. Check if there is a bug already reported on [issue-tracker][issue-tracker]. 265. File a bug on [issue-tracker][issue-tracker-file-a-bug]. 276. Reach out to a Google Developer Relations partner who can, if necessary, bring in someone from the engineering team. 28 29## FAQs 30 311. ### How can I improve the performance of my app written using tv-compose? 32 * [Performance improvements][improve-performance] suggested for a Compose app would typically apply to apps built with Compose for TV libraries as well. 33 * Use [baseline profiles][baseline-profiles] as recommended 34 in [Jetpack Compose Performance guide][jetpack-compose-performance]. 35 Watch [Making apps blazing fast with Baseline Profiles][making-apps-blazing-fast-with-baseline-profiles]. 36 * Check out [Interpreting Compose Compiler Metrics][interpreting-compose-compiler-metrics]. 372. ### My app is crashing! 38 * Ensure that you are on the latest version. 39 of [Compose for TV libraries][compose-for-tv-libraries] and Jetpack Compose 40 * Check if there is a bug already reported on [issue-tracker][issue-tracker]. 41 * [File a bug on issue-tracker][issue-tracker-file-a-bug]. 423. ### The Navigation drawer is pushing my content aside. I don’t like it. 43 Consider using a [Modal Navigation Drawer][modal-navigation-drawer] provided 44 in [Compose for TV library][compose-for-tv-modal-navigation-drawer]. 454. ### Sideloading baseline profiles to test performance, without releasing the app. 46 Refer to the steps for [applying baseline profiles][tv-samples-baseline-profiles] in the 47 Jetstream sample app. 48 49 50[compose-landing-page]: https://developer.android.com/jetpack/compose 51 52[compose-quick-tutorial]: https://developer.android.com/jetpack/compose/tutorial 53 54[compose-course]: https://developer.android.com/courses/jetpack-compose/course 55 56[good-design-patterns]: https://developer.android.com/design/ui/tv 57 58[dac]: https://developer.android.com/training/tv/playback/compose 59 60[github-sample-app]: https://github.com/android/tv-samples/tree/main/JetStreamCompose 61 62[modal-navigation-drawer]: https://m3.material.io/components/navigation-drawer/overview#15a3aa10-1be4-4be4-8370-36a1779f65e5 63 64[compose-for-tv-modal-navigation-drawer]: https://developer.android.com/reference/kotlin/androidx/tv/material3/package-summary#ModalNavigationDrawer(kotlin.Function1,androidx.compose.ui.Modifier,androidx.tv.material3.DrawerState,androidx.compose.ui.graphics.Color,kotlin.Function0) 65 66[jetpack-compose-performance]: https://developer.android.com/jetpack/compose/performance 67 68[improve-performance]: https://developer.android.com/topic/performance/improving-overview 69 70[baseline-profiles]: https://developer.android.com/topic/performance/baselineprofiles/overview 71 72[making-apps-blazing-fast-with-baseline-profiles]: https://youtu.be/yJm5On5Gp4c 73 74[interpreting-compose-compiler-metrics]: https://github.com/androidx/androidx/blob/androidx-main/compose/compiler/design/compiler-metrics.md 75 76[tv-components]: https://developer.android.com/design/ui/tv/guides/components 77 78[codelabs]: https://developer.android.com/codelabs/compose-for-tv-introduction 79 80[stackoverflow]: https://stackoverflow.com/tags/android-jetpack-compose-tv/info 81 82[issue-tracker]: https://issuetracker.google.com/issues?q=componentid:1254578%20status:open 83 84[issue-tracker-file-a-bug]: https://issuetracker.google.com/issues/new?component=1254578&template=1739419 85 86[compose-for-tv-libraries]: https://developer.android.com/jetpack/androidx/releases/tv 87 88[tv-foundation]: https://developer.android.com/reference/kotlin/androidx/tv/foundation/package-summary.html 89 90[tv-foundation-lazy-list]: https://developer.android.com/reference/kotlin/androidx/tv/foundation/lazy/list/package-summary 91 92[tv-foundation-lazy-grid]: https://developer.android.com/reference/kotlin/androidx/tv/foundation/lazy/grid/package-summary 93 94[tv-material]: https://developer.android.com/reference/kotlin/androidx/tv/material3/package-summary 95 96[tv-samples-baseline-profiles]: https://github.com/android/tv-samples/blob/main/JetStreamCompose/baseline-profiles.md