What’s new in Jetpack Compose | Session



Jetpack Compose is Android’s modern toolkit for building native UI. It simplifies and accelerates UI development on Android. We walk you through basic concepts of declarative programming, what is included in the toolkit, and some examples to help you get ready to adopt it in your apps.

Resources:
Get started with Jetpack Compose →
Jetpack Compose learning pathway →
Jetpack Compose sample apps →

Speakers: Clara Bayarri, Anna-Chiara Bellini

Watch more:
Android and Play at Google I/O 2021 Playlist →
All Google I/O 2021 Technical Sessions →
All Google I/O 2021 Sessions →

Subscribe to Android Developers →

#GoogleIO #Android #Featured #JetpackCompose

product: Android – Jetpack Compose; event: Google I/O 2021; fullname: Clara Bayarri, Anna-Chiara Bellini; re_ty: Premiere;

Watch more new videos about Android | Synthesized by Mindovermetal English

Rate this post

Bài viết liên quan

Theo dõi
Thông báo của
guest
41 Comments
Cũ nhất
Mới nhất Được bỏ phiếu nhiều nhất
Phản hồi nội tuyến
Xem tất cả bình luận
Danilo Espinoza Pino

this is gorgeous!

Gio Abashidze

nice, its much easier when you know flutter, I really prefer this approach than xml views

Sumit Kumar Gupta

React Native or flutter developer will love this 🙌🏻

Shiva Kar

Inspired by flutter 😄

Jaykrushna Solanki

Thank you Google Team

Coding in Flow

Who's learning Compose right now? ✋

Tonnie

Was skeptical on Compose until I tried it, no Dev can resist compose.

Max Mayers

finally! future is coming!) compose + kotlin multiplatform mobile = will be best multiplatform solution ever!

m zar unej

How is composable compared to flutter's widget?

Online Chatter

Effortless waiting for a Menu with options "Migrate Xml to Compose".. Press and wala.. all converted!!😁😁😁😁… Deja-Vu… like migrate to AndroidX

Eastern Phoenix

I hope Jetpack Compose dev team will bring more amazing features in near future. Android dev love Declarative UI as iOS dev love SwiftUI. Hope they will make us surprise .

Immersive VR 360°

wait ?? , just LazyColumn , one line of code to replace recyclerView 😭

Alex

Finally!!! this is great step forward!

Igor Lima

reminds me of react, worth a try a guess

Fernando Garcia

Thanks for sharing

Vengatesh M

Can this support RXJava?

Masoud Shokohi

👍👍❤❇

David Moffett

LOL, we are back to the 80's where user interfaces were developed in code. Modern? There is a reason for having something like xml, json or html define a UI. The UI can be created on the fly which is useful. Creating code on the fly is possible but much more difficult if the code needs to be compiled. Imo a step backward.

Paul Jones

How many of you love XML over Compose ?

Ronaldo Pace

So it's Flutter running on Kotlin.
Nice to have but Dart is still nicer.

Samir Rolemberg

it's basically flutter widgets on android…

Naor Ohana

How does it make the xml and drag and drop method in the layout editor less good?

Bazar Club

Is an all brand new way to write UI, and we need "unlearn" the view way of thinking.

This isn't so straightforward as seems to be, guys! You can't just jump on to it like "just a new feature that I can grab on 15 minutes".

There is a learning curve. So let's do it.

SpectatorAlius

So does Jetpack Compose make MVVM obsolete already? Or can we count on Compose to go the way of JavaFX, which is/was also 'declarative'?

M K

I find compose intriguing – how does it handle different screen size buckets and configuration changes? The xml system had structured folder hierarchy system for choosing the right resources based on runtime layout/dimens/etc, I'm yet to see anything with compose that addresses this? Until I see how this is handled its just not viable for me .. plus copy/pasting entire chunks of code just to preview a view – you have keep copy/pasting code each time you make a change to the composable function? The IDE needs to be as rich design system as it does for xml layouts – if that happens I'm sold on compose, until then it seems a bit rough around the edges.

kunal kotiyal

Good bye XML

Paweł Franitza

Row, Column and … Box? Why not call it Stack/VStack?

Qasim Ami

Why you make too many frameworks instead of concentrating on one framework? We have old way to create apps, flutter and now this.

Lakshman Palli

great feature, looking forward to dive

Abdulrahman Alniema

When will version 1 come to life?, and should I use Compose in a real production app now?

Bhanu Prakash

does jetpack compose works with android TV ?

TheLittleNaruto

…wait! Is it Flutter? I can see "Column", "Text" widgets… My mind is spinning …..

Martin Verrisin

can I write a background @Composable, that does not produce a view, but just some value? Ideally, one that could be observed like LiveData or Flow.
– it could be used for control flow (better than xml Navigation) by treating the composition as a monad, effects would be wrapped to run the "first" time, one could easily revert to older state, have access to all variables, as they are just defined previously…
– it could handle the only issue I have with coroutines, that you cannot re-run back from a point in past, like a Gui monad.
– only limit is, that sometimes the @Compose function would have to get 'suspended' and stop running, until that part of 'decision tree' is reached…

Albert Sebastian

this is so cool. being on react + ts this is something i would love to take up

a s

Maintaining radio button/ checkbox state explicitly across menus and settings was always a pain..no more😭

SnoopyDoo

You'll notice that they never use dependency injection in any of their Compose samples. In fact, DI is practically never used in any of the source code for Android. That should tell you how useless DI is.

HOHENHEIIM

kotlíìn

Alexey Glushkov

Please add LazyColumn cell change animation like we have with diffUtils now

Luiz Filipe

XML never again.

pentexnyx

Looking forward to it 🙂

Any fixes regarding multiple sheets within ModalBottomSheetLayout yet?

om

How can we watch all video at same time
2:45 with concentration ,
Do we look aliens 👽 or you think we are Elon Musk 💰🚀