Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Jetpack Compose

From Wikipedia, the free encyclopedia
Kotlin-based UI framework

Jetpack Compose
DeveloperGoogle
Repository
Written inKotlin
Operating systemAndroid
TypeLibrary
Websitedeveloper.android.com/develop/ui/compose

Jetpack Compose is an open-sourcereactive UIframework developed byGoogle forcross-platform development inKotlin. The first preview was announced in May 2019, and the framework was made ready forproduction in July 2021.

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'sstate. Jetpack Compose uses a Kotlin compiler plugin to transform composable functions into UI elements.[1] For example, the Text composable function displays a text label on the screen.

History

[edit]

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

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

Features

[edit]

Jetpack Compose supportsAndroid 5.0 and later.[6] It uses theKotlin programming language, and provides areactive programming model similar to other UI frameworks such asFlutter,Vue.js, andReact Native.[2] Compose is designed to integrate seamlessly with existing Android apps and libraries, allowing developers to gradually migrate 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'sstate.[7][8] The annotation is used by the Compose compiler to generate the UIboilerplate code.[8] When the state is updated, composable functions are called again with new data, which causes the widgets they emit to be redrawn in a process known as recomposition. Recomposition is only performed for composable functions that need to be updated, which improves UI efficiency.[9]

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

Jetpack Glance is a Jetpack Compose-based framework for developingwidgets for Android.[11] Glance's first stable release took place in September 2023.[12]

In September 2024, the 1.0 stable version of the Jetpack ComposeAPIs for building adaptive UIs withMaterial 3 was released.[13]

Usage

[edit]

At the time of Jetpack Compose's 1.0 release, Google said, "There are already over 2,000 apps in thePlay Store using Compose – in fact, the Play Store app itself uses Compose."[7] As of October 2022, 16% of the top 1000 apps on the Play Store included Compose. The apps included those from companies such asAirbnb,Lyft andSquare.[14] In May 2024, this number had grown to 40%.[15]

In 2022, Google detailed how it utilized Jetpack Compose as part of its rewrite of the Play Store app, stating that "writing UI requires much less code, sometimes up to 50%" and that the developers were able to improve the app's performance.[16][17] Google rewrote parts of Android's Settings app using Jetpack Compose inAndroid 14.[18]Meta Platforms developed itsThreads social media app in five months using Jetpack Compose.[19][20] TheInstagram for Android app has also been written using Jetpack Compose.[21]

Compose Multiplatform

[edit]

Compose Multiplatform is a multi-platform UI framework developed byJetBrains and based on Jetpack Compose. It is aport of Jetpack Compose forWindows,macOS,Linux and the web.[22][23][24] Version 1.0 alpha was released in August 2021.[7]iOS support was added in May 2023.[25]

See also

[edit]

References

[edit]
  1. ^Panjuta, Denis; Nwokike, Loveth (December 12, 2023),"Basic Jetpack Compose Elements",Tiny Android Projects Using Kotlin, Boca Raton: Chapman and Hall/CRC, pp. 233–257,doi:10.1201/9781032622538-9,ISBN 978-1-032-62253-8, retrievedJune 14, 2025
  2. ^abLardinois, 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. RetrievedApril 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. RetrievedApril 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. RetrievedApril 14, 2024.
  5. ^abBradshaw, 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. RetrievedApril 14, 2024.
  6. ^"Set up your Android project | Jetpack Compose".Android Developers.Archived from the original on April 28, 2024. RetrievedApril 14, 2024.
  7. ^abcAnderson, 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. RetrievedApril 14, 2024.
  8. ^abSinicki, Adam (November 10, 2019)."An introduction to Jetpack Compose for quick Android UI designs".Android Authority.Archived from the original on December 1, 2023. RetrievedApril 14, 2024.
  9. ^"Thinking in Compose | Jetpack Compose".Android Developers. RetrievedApril 12, 2025.
  10. ^Krill, Paul (July 30, 2021)."Jetpack Compose for Android turns GA".InfoWorld.Archived from the original on December 4, 2023. RetrievedApril 14, 2024.
  11. ^"Jetpack Glance | Jetpack Compose".Android Developers. RetrievedAugust 31, 2025.
  12. ^"Glance | Jetpack".Android Developers. RetrievedAugust 31, 2025.
  13. ^Vanyo, Alex (September 9, 2024)."Jetpack Compose APIs for building adaptive layouts using Material guidance now stable".Android Developers Blog. RetrievedApril 12, 2025.
  14. ^Nikolov, Lazar (April 19, 2023)."Build better Jetpack Compose apps with Sentry".InfoWorld.Archived from the original on December 7, 2023. RetrievedApril 14, 2024.
  15. ^Developer Keynote (Google I/O '24). May 14, 2024. RetrievedDecember 24, 2024 – via YouTube.
  16. ^Flynn, Andrew; Boekenoogen, Jon (March 10, 2022)."Play Time with Jetpack Compose".Android Developers Blog. RetrievedAugust 31, 2025.
  17. ^Li, Abner (March 10, 2022)."Google rewrote the Play Store's UI with Jetpack Compose for up to 50% less code, faster rendering".9to5Google.
  18. ^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. RetrievedApril 14, 2024.
  19. ^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. RetrievedMay 15, 2024.
  20. ^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. RetrievedMay 15, 2024.
  21. ^Hartig, Pascal (January 24, 2025)."Bringing Jetpack Compose to Instagram for Android".Engineering at Meta. RetrievedApril 13, 2025.
  22. ^"Compose Multiplatform – Beautiful UIs Everywhere".JetBrains. RetrievedJune 14, 2025.
  23. ^"What's new in Compose Multiplatform 1.8.1 | Kotlin Multiplatform".Kotlin Multiplatform Help. RetrievedJune 14, 2025.
  24. ^"Compatibility and versions | Kotlin Multiplatform".Kotlin Multiplatform Help. RetrievedJune 14, 2025.
  25. ^Krill, Paul (May 19, 2023)."JetBrains adds iOS support to cross-platform UI framework".InfoWorld.Archived from the original on February 13, 2024. RetrievedApril 14, 2024.

External links

[edit]
Software
development
Development tools
Official
Other
Integrated development
environments
(IDE)
Languages,databases
Augmented reality andvirtual reality
Events,communities
Releases
Derivatives
Devices
Pixel
Nexus
Play edition
Custom
distributions
Booting and
recovery
APIs
AlternativeUIs
Rooting
Lists
Related topics
a subsidiary ofAlphabet
Company
Divisions
Subsidiaries
Active
Defunct
Programs
Events
Infrastructure
People
Current
Former
Criticism
General
Incidents
Other
Software
A–C
D–N
O–Z
Operating systems
Machine learning models
Neural networks
Computer programs
Formats and codecs
Programming languages
Search algorithms
Domain names
Typefaces
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
Y
Hardware
Pixel
Smartphones
Smartwatches
Tablets
Laptops
Other
Nexus
Smartphones
Tablets
Other
Other
Advertising
Antitrust
Intellectual
property
Privacy
Other
Related
Concepts
Products
Android
Street View coverage
YouTube
Other
Documentaries
Books
Popular culture
Other
Retrieved from "https://en.wikipedia.org/w/index.php?title=Jetpack_Compose&oldid=1323659218"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp