Тёмный

What's new in Jetpack Compose (Android Dev Summit '19) 

Android Developers
Подписаться 1,3 млн
Просмотров 63 тыс.
50% 1

Jetpack Compose was announced at Google I/O and the team has been hard at work ever since. This talk introduces Compose to new audiences, including what the project is and how it is taking shape. The talk also updates people who already know about Jetpack Compose, including how the project has evolved.
Presented by: Adam Powell, Clara Bayarri, Romain Guy
Jetpack Sessions → goo.gle/AndroidJetpack
Android Dev Summit '19 all sessions playlist → goo.gle/ADS19allsessions
Subscribe to the Android Developers channel → goo.gle/AndroidDevs
Check out the photo album → goo.gle/ADS19Photos
#AndroidDevSummit #jetpackcompose event: Android Dev Summit 2019; re_ty: Publish; product: Android - Jetpack Compose; fullname: Adam Powell, Clara Bayarri, Romain Guy;

Наука

Опубликовано:

 

23 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 92   
@muhammadtouhid998
@muhammadtouhid998 4 года назад
35:31 "It took us 5 minutes to figure it out And we wrote that thing" :D. Romain is so cool
@getmmg
@getmmg 4 года назад
Basically Flutter with Kotlin instead of Dart.
@PavitraGolchha
@PavitraGolchha 4 года назад
Flutter + Dart = Fart 😂
@coroutinedispatcher
@coroutinedispatcher 4 года назад
and first capital letter methods instead of construcors
@codingwithmitch
@codingwithmitch 4 года назад
This reminds me of CSS and bootstrap
@alangaelrojas
@alangaelrojas 4 года назад
Yeah! Me too
@faizahmed8034
@faizahmed8034 4 года назад
Hey Mitch, Do you think this will be the future of UI building in Android? And also is java slowly being pushed out of the modern Android ecosystem? Since most of these APIs are only available for kotlin classes.
@mohanr9899
@mohanr9899 4 года назад
The inspiration is clearly from React
@rudiwinkelstein2483
@rudiwinkelstein2483 4 года назад
It combines the advantages of flutter with the advantages of native. Pretty neat if it works
@wepranaga
@wepranaga 4 года назад
i really put my hopes on this to make android development a lot better
@michelfeinstein
@michelfeinstein 4 года назад
So, basically Flutter comes to native Android?
@Virus00000000000001
@Virus00000000000001 4 года назад
no more semicolons!
@callumvanheerden1530
@callumvanheerden1530 4 года назад
I love flutter but hate dart...
@michelfeinstein
@michelfeinstein 4 года назад
I honestly don't see what's the problem with everyone, Kotlin is really good, but I hate to type fun on each function or var at each variable, semicolons are right there at my pinkie I don't bother at all.
@caelumforder9710
@caelumforder9710 4 года назад
@@michelfeinstein Typability is low down in ranking of our concerns compared to readability, and fun, var and val are very helpful for readability, especially in code written by someone else or ourselves a while ago. If you want to save characters then write your code as compressed C++ :)
@michelfeinstein
@michelfeinstein 4 года назад
@@caelumforder9710 I came from C and C++, so Kotlin for me is worse for readability, as there are many useless words in the code that they actually distract me. That's why I am fine with Java, but actually in love with Dart and Flutter for the past year and half.
@logain_ink
@logain_ink 4 года назад
I tried the Jetnews demo app (on a Galaxy S9+) and it feels reaaally slow. Like it's dropping frames when you open some news, the same happens when clicking ther back arrow.
@ngenge_senior
@ngenge_senior 4 года назад
I really enjoyed the presentation and it is really cool. Well explained. As I work out my XML on Android, I will be composing bit by bit
@michaelnajera7958
@michaelnajera7958 4 года назад
Can't wait, thanks!
@SanalDersaneLeventYadrga
@SanalDersaneLeventYadrga 3 года назад
I congratulate you on the honesty in the first minutes.
@arindomghosh3144
@arindomghosh3144 4 года назад
Can anyone please address the elephant in the room. Flutter and Jetpack compose is completely different beside being declarative ui one dart based cross platform while other is kotlin based support only native. So why one should opt for jetpack compose over flutter or even native app development. Its very concerning that new technologies are coming up but the long term vission is not clear, please don't go in to hype but ask questions which one.
@gizemburhanoglu720
@gizemburhanoglu720 4 года назад
About the bookmark example, you assign the value to the variable once by calling val isBookmarked = bookmarker.hasBookmark() but then in onClick, you rely on that reference in every iteration without re-evaluating whether it's "bookmarked". Judging it as a regular function, the value of isBookmarked should always stay the same since nothing updates the assignment later. Is Compose really so smart that it understands that it needs to recalculate the value of isBookmarked every time it runs onClick function, or is something wrong with the code? (I can of course try it out myself but I have no time to dive into set-up & coding right now :) )
@ms-songssingh2460
@ms-songssingh2460 4 года назад
Could you tell me why goggle are working many platform like flutter Kotlin Android please tell which one is better
@Pulkit__7
@Pulkit__7 4 года назад
What I am excited about this is now, I don't need to make components again and again. Just create one class and dynamically use it across the whole app
@gokulakrishnan1977
@gokulakrishnan1977 4 года назад
Yea that's what i thought
@juanfrancisco9039
@juanfrancisco9039 4 года назад
Is there any way to pass a parcelable object to another activity?
@DavidRobertsonUK
@DavidRobertsonUK 4 года назад
Reminds me a lot of immediate-mode GUI systems (as opposed to the far-more-common retained-mode)
@muhammadrahmatullahrahman1534
@muhammadrahmatullahrahman1534 4 года назад
Kotlin on flutter: Klutter
@BetoMan996
@BetoMan996 4 года назад
Ok so Flutter is for native Android and iOS, Compose is a Flutter specific for Android. Bye java
@rudiwinkelstein2483
@rudiwinkelstein2483 4 года назад
I won't miss java tbh
@coroutinedispatcher
@coroutinedispatcher 4 года назад
Well, with compose you were supposed to say Bye XML
@rudiwinkelstein2483
@rudiwinkelstein2483 4 года назад
​@@coroutinedispatcher Hopefully. I'm sick of xml after getting a taste of flutter
@coroutinedispatcher
@coroutinedispatcher 4 года назад
@@rudiwinkelstein2483 Don't be so sure. Flutter is becoming verbose every day. I know that is is simpler but the way it restores state, it's just not my thing.
@michalziobro1984
@michalziobro1984 4 года назад
Flutter is dead
@marlonlom
@marlonlom 4 года назад
what about databinding? how is this related to this new stuff?
@fit_shiv
@fit_shiv 4 года назад
So I am worried if it will be able to create the complex UI ?
@vernoncpowelljr7520
@vernoncpowelljr7520 4 года назад
Thè programs are very detaild,you would everyday want to see
@thawdezin
@thawdezin 4 года назад
I'm hoping documentation about Single Activity Multiple Fragments with Jetpack compose.
@joelmoreira1546
@joelmoreira1546 4 года назад
It looks similar to Flutter, and that's good, I really like this new way to develop apps.
@igorg.8624
@igorg.8624 4 года назад
Why is it not production-ready yet? And what happened to ConstraintLayout!
@badakml7366
@badakml7366 4 года назад
its dead ady because of this new api
@SuperNipoon
@SuperNipoon 4 года назад
When will this be production-ready? Anyone know?
@peterwauyo2424
@peterwauyo2424 4 года назад
next year will see the first stable release out. but there's also a plan for an alpha release, before this year ends, which should fairly be production ready
@andreyabond
@andreyabond 4 года назад
Please, tell me how do you run android device emulator in a tool window?
@muth0mi
@muth0mi 4 года назад
Someone kindly help with this
@LuchoSerruya
@LuchoSerruya 4 года назад
I think that's new with Android Studio 4.0, and maybe it's a Compose specific feature
@andreyabond
@andreyabond 4 года назад
@@LuchoSerruya Embedded emulator announced in this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-XPMrnR1_Biw.html, but I still can't find out how to rty it in canary release.
@logain_ink
@logain_ink 4 года назад
@@andreyabond You need Android Studio 4.0 and a composable funcion without arguments annotated with Preview. The Jetpack Compose template that comes with Android Studio 4.0 on the project creation wizzard should have it out of the box (you do need to compile it first, otherwise it won't render anything)
@andreyabond
@andreyabond 4 года назад
@@logain_ink Thanks! But you talk about live preview, and I am wondering about "embedded device emulator" (this feature announced for 4.0)
@amitmondal7427
@amitmondal7427 3 года назад
Oho, this is My Android CSS.
@GordWayne
@GordWayne 4 года назад
Nice
@abdelrahmanabied5982
@abdelrahmanabied5982 4 года назад
is it flutter ???????????
@geekmoh1564
@geekmoh1564 4 года назад
Amazing new layout coding. Seems better than flutter.
@archidvignesh5368
@archidvignesh5368 4 года назад
Basically the swift UI for android
@yitphady9038
@yitphady9038 3 года назад
Good
@nasserkhosravi244
@nasserkhosravi244 4 года назад
If you know flutter, you know compose.
@LuchoSerruya
@LuchoSerruya 4 года назад
Is Compose going to kill the layout editor then?
@KetanVadhavana
@KetanVadhavana 4 года назад
Flutter developers are smiling..
@vlastos
@vlastos 4 года назад
Yes!
@bestintentions6089
@bestintentions6089 4 года назад
is it like SwiftUI in a spirit ?
@michelfeinstein
@michelfeinstein 4 года назад
It's like Flutter but for Android (SwiftUI is Flutter for iOS)
@WakeskaterFr
@WakeskaterFr 4 года назад
@@michelfeinstein SwiftUI is Compose for iOS instead right ?
@michelfeinstein
@michelfeinstein 4 года назад
@@WakeskaterFr well, Flutter came first, then SwiftUI, then compose.
@WakeskaterFr
@WakeskaterFr 4 года назад
@@michelfeinstein I'm agree but I was confused about your comparison :) Flutter is a multiplatform tools (UI and logic with Dart -> to iOS / Android / Web / Desktop), instead of SwiftUI and Compose which are just UI tools for each specific platform (only Android and iOS).
@michelfeinstein
@michelfeinstein 4 года назад
@@WakeskaterFr yes, but you are analyzing too much what I said hahah, I only mean the new paradigm of Flutter, which is to compose the UI. Multiplataform is nothing new, neither exclusive to Flutter.
@LordByron778
@LordByron778 4 года назад
SwiftUI comes to Android
@DebabrataAcharya93
@DebabrataAcharya93 4 года назад
so ... basically Flutter.
@gregfrllo
@gregfrllo 4 года назад
10 minutes in, ooohhh flutterrrrrrr
@coroutinedispatcher
@coroutinedispatcher 4 года назад
One thing I noticed is that looks like we are going to say good bye to loading Images with 3rd party libraries like Picasso or Glide or Coil or whatever.
@yitphady9038
@yitphady9038 3 года назад
Watch
@pixelPlex
@pixelPlex 4 года назад
Kotlin 1.4 ( ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-dtm2h-_sNDQ.html ) hasn't been released yet.
@SreeKumar_vijayan
@SreeKumar_vijayan 4 года назад
I googled it 😂
@ChrisOvercash
@ChrisOvercash 4 года назад
> similar to other R E A C T ive frameworks :P
@hadifromlebanon3812
@hadifromlebanon3812 4 года назад
Hello Flutter
@MalikAbualzait
@MalikAbualzait 4 года назад
Flutter!
@coroutinedispatcher
@coroutinedispatcher 4 года назад
Really? I see this really different actually. In flutter you have to change state after an event comes while in this case you have the @Model observable which is supposed to do it for you
@mehraanakbarii
@mehraanakbarii 3 года назад
@@coroutinedispatcher you can use reacriveX (RxDart ) Observable with streams instead of changing state manually with stateful widgets or wrapping inherieated widget data into stateful widgets (sprinkle architecture)
@mehraanakbarii
@mehraanakbarii 3 года назад
@@coroutinedispatcher managing state automatically in flutter is possible but it requires more boilerplate code
@ashutoshojha8884
@ashutoshojha8884 4 года назад
Hello World
@aditpsgt
@aditpsgt 4 года назад
its smell like flutter ~
@salfaial6303
@salfaial6303 4 года назад
Nice french accent
@yunmyeonghun
@yunmyeonghun 4 года назад
Like dart. Too much style and Layout coding. Not good enough now. But it will be well later.
@chummyigbo8844
@chummyigbo8844 4 года назад
First comment in the world
Далее
Understanding Compose (Android Dev Summit '19)
36:15
Просмотров 71 тыс.
What's new in Android Studio (Android Dev Summit '19)
34:53
Understand Kotlin Coroutines on Android (Google I/O'19)
37:49
Shrinking your app with R8 (Android Dev Summit '19)
18:04
Performance myth busters (Android Dev Summit '19)
30:51
Declarative UI patterns (Google I/O'19)
35:11
Просмотров 100 тыс.
Prices & Poco M4 Pro 5G
1:00
Просмотров 266 тыс.
Aura 879dsp новинка и хит
0:48
Просмотров 166 тыс.