Jetpack Compose

Last updated

Jetpack Compose
Developer(s) Google
Repository
Written in Kotlin
Operating system Android
Type Library
Website developer.android.com/develop/ui/compose

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. [1]

Contents

History

The first preview of Jetpack Compose was announced at the Google I/O conference in May 2019. [2] 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] It uses the Kotlin programming language, and provides a reactive programming model similar to other UI frameworks such as Vue.js and React Native. [2] Compose is designed to integrate seamlessly with existing Android apps and libraries, allowing developers to gradually convert their apps to Compose. [5]

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. [1] [7] The annotation is used by the Compose compiler to generate the UI boilerplate code. [7]

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. [8]

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." [1] 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. [9]

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

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. [1] iOS support was added in May 2023. [13]

Related Research Articles

A mobile development framework is a software framework that is designed to support mobile app development. It is a software library that provides a fundamental structure to support the development of applications for a specific environment.

<span class="mw-page-title-main">Google Contacts</span> Contact management tool from Google

Google Contacts is a contact management service developed by Google. It is available as an Android mobile app, a web app, or on the sidebar of Gmail as part of Google Workspace.

The version history of the Android mobile operating system began with the public release of its first beta on November 5, 2007. The first commercial version, Android 1.0, was released on September 23, 2008.
The operating system is developed by Google on a yearly cadence since at least 2011. New major releases are announced at Google I/O in May while still in beta testing with the stable version usually released to the public between August and October.

Dart is a programming language designed by Lars Bak and Kasper Lund and developed by Google. It can be used to develop web and mobile apps as well as server and desktop applications.

<span class="mw-page-title-main">Google Play</span> Digital distribution service by Google

Google Play, also known as the Google Play Store or Play Store and formerly Android Market, is a digital distribution service operated and developed by Google. It serves as the official app store for certified devices running on the Android operating system and its derivatives, as well as ChromeOS, allowing users to browse and download applications developed with the Android software development kit and published through Google. Google Play has also served as a digital media store, offering games, music, books, movies, and television programs. Content that has been purchased on Google Play Movies & TV and Google Play Books can be accessed on a web browser and through the Android and iOS apps.

<span class="mw-page-title-main">Android Studio</span> Integrated development environment for the Android platform

Android Studio is the official integrated development environment (IDE) for Google's Android operating system, built on JetBrains' IntelliJ IDEA software and designed specifically for Android development. It is available for download on Windows, macOS and Linux based operating systems. It is a replacement for the Eclipse Android Development Tools (E-ADT) as the primary IDE for native Android application development. Android Studio is licensed under the Apache license but it ships with some SDK updates that are under a non-free license, making it not open source.

JetBrains s.r.o. is a Czech software development private limited company which makes tools for software developers and project managers. The company has its headquarters in Prague, and has offices in China, Europe, and the United States.

Kotlin is a cross-platform, statically typed, general-purpose high-level programming language with type inference. Kotlin is designed to interoperate fully with Java, and the JVM version of Kotlin's standard library depends on the Java Class Library, but type inference allows its syntax to be more concise. Kotlin mainly targets the JVM, but also compiles to JavaScript or native code via LLVM. Language development costs are borne by JetBrains, while the Kotlin Foundation protects the Kotlin trademark.

<span class="mw-page-title-main">Android TV</span> Android operating system version for television sets and digital media players

Android TV is a smart TV operating system based on Android and developed by Google. It is available on television sets, soundbars, set-top boxes and digital media players. A successor to Google TV, it features a user interface designed around content discovery and voice search, content aggregation from various media apps and services, and integration with other recent Google technologies such as Assistant, Cast, and Knowledge Graph.

<span class="mw-page-title-main">Material Design</span> Design language developed by Google in 2014

Material Design is a design language developed by Google in 2014. Expanding on the "cards" that debuted in Google Now, Material Design uses more grid-based layouts, responsive animations and transitions, padding, and depth effects such as lighting and shadows. Google announced Material Design on June 25, 2014, at the 2014 Google I/O conference.

<span class="mw-page-title-main">React Native</span> Open-source mobile application framework

React Native is an open-source UI software framework created by Facebook Inc. It is used to develop applications for Android, Android TV, iOS, macOS, tvOS, Web, Windows and UWP by enabling developers to use the React framework along with native platform capabilities. It is used to develop the Android and iOS applications at Facebook, Microsoft, and Shopify. It is also being used to develop virtual reality applications at Oculus.

NativeScript is an open-source framework to develop mobile apps on the iOS and Android platforms. It was originally conceived and developed by Bulgarian company Telerik, later acquired by Progress Software. At the end of 2019 responsibility for the NativeScript project was taken over by long-time Progress partner, nStudio. In December 2020 nStudio also oversaw the induction of NativeScript into OpenJS Foundation as an Incubating Project. NativeScript apps are built using JavaScript, or by using any programming language that transpiles to JavaScript, such as TypeScript. NativeScript supports the Angular and Vue JavaScript frameworks. Mobile applications built with NativeScript result in fully native apps, which use the same APIs as if they were developed in Xcode or Android Studio. Additionally, software developers can re-purpose third-party libraries from CocoaPods, Maven, and npm.js in their mobile applications without the need for wrappers.

<span class="mw-page-title-main">Fuchsia (operating system)</span> Computer operating system by Google

Fuchsia is an open-source capability-based operating system developed by Google. In contrast to Google's Linux-based operating systems such as ChromeOS and Android, Fuchsia is based on a custom kernel named Zircon. It publicly debuted as a self-hosted git repository in August 2016 without any official corporate announcement. After years of development, its official product launch was in 2021 on the first-generation Google Nest Hub, replacing its original Linux-based Cast OS.

Flutter is an open-source UI software development kit created by Google. It can be used to develop cross platform applications from a single codebase for the web, Fuchsia, Android, iOS, Linux, macOS, and Windows. First described in 2015, Flutter was released in May 2017. Flutter is used internally by Google in apps such as Google Pay and Google Earth as well as by other software developers including ByteDance and Alibaba.

<span class="mw-page-title-main">Android 10</span> Tenth major version of the Android mobile operating system

Android 10 is the tenth major release and the 17th version of the Android mobile operating system. It was first released as a developer preview on March 13, 2019, and was released publicly on September 3, 2019.

HarmonyOS (HMOS) is a distributed operating system developed by Huawei for smartphones, tablets, smart TVs, smart watches, personal computers and other smart devices. It has a multikernel design with dual frameworks: the operating system selects suitable kernels from the abstraction layer in the case of devices that use diverse resources.

<span class="mw-page-title-main">Android 11</span> Eleventh major version of the Android mobile operating system

Android 11 is the eleventh major release and 18th version of Android, the mobile operating system developed by the Open Handset Alliance led by Google. It was released on September 8, 2020. The first phone launched in Europe with Android 11 was the Vivo X51 5G and after its full stable release, the first phone in the world which came with Android 11 was Google Pixel 5.

<span class="mw-page-title-main">Android 12</span> Twelfth major version of the Android mobile operating system

Android 12 is the twelfth major release and 19th version of Android, the mobile operating system developed by the Open Handset Alliance led by Google. The first beta was released on May 18, 2021. Android 12 was released publicly on October 4, 2021, through Android Open Source Project (AOSP) and was released to supported Google Pixel devices on October 19, 2021. As of April 2024, it is the oldest Android version still supported.

Android 14 is the fourteenth major release and the 21st version of Android, the mobile operating system developed by the Open Handset Alliance led by Google. It was released to the public and the Android Open Source Project (AOSP) on October 4, 2023. The first devices to ship with Android 14 were the Pixel 8 and Pixel 8 Pro.

References

  1. 1 2 3 4 5 Anderson, Tim (August 6, 2021). "Does the world need another cross-platform framework? Tough, here's JetBrains with Compose Multiplatform". The Register . Archived from the original on March 7, 2024. Retrieved April 14, 2024.
  2. 1 2 3 Lardinois, Frederic (May 7, 2019). "Google launches Jetpack Compose, an open-source, Kotlin-based UI development toolkit". TechCrunch . Archived from the original on February 27, 2024. Retrieved April 14, 2024.
  3. Protalinski, Emil (October 23, 2019). "Google launches Jetpack Compose developer preview and Android Studio 4.0 Canary". VentureBeat . Archived from the original on December 3, 2022. Retrieved April 14, 2024.
  4. Bradshaw, Kyle (August 26, 2020). "Jetpack Compose reaches Alpha ahead of full release next year". 9to5Google. Archived from the original on March 30, 2023. Retrieved April 14, 2024.
  5. 1 2 Bradshaw, Kyle (July 28, 2021). "Google launches Jetpack Compose 1.0, making Android UI design easier w/ Kotlin". 9to5Google. Archived from the original on April 6, 2023. Retrieved April 14, 2024.
  6. "Set up your Android project | Jetpack Compose". Android Developers. Archived from the original on April 28, 2024. Retrieved April 14, 2024.
  7. 1 2 Sinicki, Adam (November 10, 2019). "An introduction to Jetpack Compose for quick Android UI designs". Android Authority. Archived from the original on December 1, 2023. Retrieved April 14, 2024.
  8. Krill, Paul (July 30, 2021). "Jetpack Compose for Android turns GA". InfoWorld. Archived from the original on December 4, 2023. Retrieved April 14, 2024.
  9. Nikolov, Lazar (April 19, 2023). "Build better Jetpack Compose apps with Sentry". InfoWorld . Archived from the original on December 7, 2023. Retrieved April 14, 2024.
  10. Bradshaw, Kyle (February 14, 2023). "Google is gradually rewriting Android's Settings app with Jetpack Compose". 9to5Google . Archived from the original on April 20, 2023. Retrieved April 14, 2024.
  11. Evjen, Yasmine; Muntenescu, Florina (October 27, 2023). "Meta built threads in only 5 months using Jetpack Compose". Android Developers Blog. Archived from the original on February 26, 2024. Retrieved May 15, 2024.
  12. Li, Abner (March 4, 2024). "Google on how Meta sped up its Android 14 app updates". 9to5Google . Archived from the original on March 5, 2024. Retrieved May 15, 2024.
  13. Krill, Paul (May 19, 2023). "JetBrains adds iOS support to cross-platform UI framework". InfoWorld. Archived from the original on February 13, 2024. Retrieved April 14, 2024.