Jetpack Compose Explained

Jetpack Compose
Developer:Google
Programming Language:Kotlin
Engines:-->
Operating System:Android
Genre:Library
Licence:-->

Jetpack Compose is an open-source Kotlin-based declarative UI framework for Android developed by Google.[1] The first preview was announced in May 2019,[2] and the framework was made ready for production in July 2021.

History

The first preview of Jetpack Compose was announced at the Google I/O conference in May 2019. The developer preview was released in October 2019,[3] and the alpha release took place in August 2020.[4]

Compose entered its beta phase in February 2021, with its first production release taking place that July.[5]

Features

Jetpack Compose supports Android 5.0 and later.[6]

Notes and References

  1. Web site: Anderson . Tim . 6 August 2021 . Does the world need another cross-platform framework? Tough, here's JetBrains with Compose Multiplatform . 2024-04-14 . . en . March 7, 2024 . https://web.archive.org/web/20240307173516/https://www.theregister.com/2021/08/06/compose_for_desktop_kotlin_framework/ . live .
  2. Web site: Lardinois . Frederic . 2019-05-07 . Google launches Jetpack Compose, an open-source, Kotlin-based UI development toolkit . 2024-04-14 . . en-US . February 27, 2024 . https://web.archive.org/web/20240227203145/https://techcrunch.com/2019/05/07/google-launches-jetpack-compose-an-open-source-kotlin-based-ui-development-toolkit/ . live .
  3. Web site: Google launches Jetpack Compose developer preview and Android Studio 4.0 Canary. October 23, 2019. April 14, 2024. VentureBeat. Protalinski. Emil. December 3, 2022. https://web.archive.org/web/20221203182850/https://venturebeat.com/business/google-launches-jetpack-compose-developer-preview-and-android-studio-4-0-canary/. live.
  4. Web site: Jetpack Compose reaches Alpha ahead of full release next year. August 26, 2020. April 14, 2024. 9to5Google. Bradshaw. Kyle. March 30, 2023. https://web.archive.org/web/20230330064830/https://9to5google.com/2020/08/26/jetpack-compose-alpha/. live.
  5. Web site: Google launches Jetpack Compose 1.0, making Android UI design easier w/ Kotlin. July 28, 2021. April 14, 2024. 9to5Google. Bradshaw. Kyle. April 6, 2023. https://web.archive.org/web/20230406061334/https://9to5google.com/2021/07/28/jetpack-compose-1-0-android-ui-kotlin/. live.
  6. Web site: Sinicki . Adam . 2019-11-10 . An introduction to Jetpack Compose for quick Android UI designs . 2024-04-14 . Android Authority . en . December 1, 2023 . https://web.archive.org/web/20231201043228/https://www.androidauthority.com/introduction-to-jetpack-compose-1051253/ . live .
  7. Web site: Jetpack Compose for Android turns GA. July 30, 2021. April 14, 2024. InfoWorld. Krill. Paul. December 4, 2023. https://web.archive.org/web/20231204085804/https://www.infoworld.com/article/3627298/jetpack-compose-for-android-turns-ga.html. live.
  8. Web site: Build better Jetpack Compose apps with Sentry. April 19, 2023. April 14, 2024. InfoWorld. Nikolov. Lazar. December 7, 2023. https://web.archive.org/web/20231207123550/https://www.infoworld.com/article/3693018/build-better-jetpack-compose-apps-with-sentry.html. live.
  9. Web site: Google is gradually rewriting Android’s Settings app with Jetpack Compose. February 14, 2023. April 14, 2024. 9to5Google. Bradshaw. Kyle. April 20, 2023. https://web.archive.org/web/20230420064150/https://9to5google.com/2023/02/14/android-14-settings-app-jetpack-compose/. live.
  10. Web site: Evjen . Yasmine . Muntenescu . Florina . 27 October 2023 . Meta built threads in only 5 months using Jetpack Compose . live . https://web.archive.org/web/20240226051146/https://android-developers.googleblog.com/2023/10/meta-built-threads-in-only-5-months-using-jetpack-compose.html . February 26, 2024 . 15 May 2024 . Android Developers Blog.
  11. Web site: Li . Abner . March 4, 2024 . Google on how Meta sped up its Android 14 app updates . live . https://web.archive.org/web/20240305173749/https://9to5google.com/2024/03/04/google-meta-android-apps/ . March 5, 2024 . May 15, 2024 . 9to5Google.
  12. Web site: Krill . Paul . 2023-05-19 . JetBrains adds iOS support to cross-platform UI framework . 2024-04-14 . InfoWorld . en . February 13, 2024 . https://web.archive.org/web/20240213162601/https://www.infoworld.com/article/3697271/jetbrains-adds-ios-support-to-cross-platform-ui-framework.html . live .
  13. Web site: Set up your Android project | Jetpack Compose|access-date=April 14, 2024|website=Android Developers|archive-date=April 28, 2024|archive-url=https://web.archive.org/web/20240428225142/https://developer.android.com/develop/ui/compose/tooling/relay/android-project-setup|url-status=live}} It uses the Kotlin] programming language, and provides a reactive programming model similar to other UI frameworks such as Vue.js and React Native. Compose is designed to integrate seamlessly with existing Android apps and libraries, allowing developers to gradually migrate their apps to Compose.

    In Compose, a user interface is defined using functions that have been annotated with the @Composable annotation, which are known as composable functions and define the screen's state.[6] The annotation is used by the Compose compiler to generate the UI boilerplate code.

    The 1.0 release introduced Compose Preview, which is built into Android Studio starting with Arctic Fox. It allows composables to be previewed using different configurations without deploying the app to a device.[7]

    Usage

    At the time of Jetpack Compose's 1.0 release, Google said, "There are already over 2,000 apps in the Play Store using Compose – in fact, the Play Store app itself uses Compose." As of October 2022, 160 of the top 1000 apps on the Play Store included Compose. The apps included those from companies such as Airbnb, Lyft and Square.[8]

    Google rewrote parts of Android's Settings app using Compose in Android 14.[9] Meta Platforms developed its Threads social media app in five months using Compose.[10] [11]

    Compose Multiplatform

    Compose Multiplatform is a multi-platform UI framework developed by JetBrains and based on Jetpack Compose. It is a port of Jetpack Compose for Windows, macOS, Linux and the web. Version 1.0 alpha was released in August 2021. iOS support was added in May 2023.[12]

    External links

    .