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

Поделиться
HTML-код
  • Опубликовано: 24 янв 2025

Комментарии • 93

  • @codingwithmitch
    @codingwithmitch 5 лет назад +20

    This reminds me of CSS and bootstrap

    • @alangaelrojas
      @alangaelrojas 5 лет назад

      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 года назад +2

      The inspiration is clearly from React

  • @muhammadtouhid998
    @muhammadtouhid998 5 лет назад +10

    35:31 "It took us 5 minutes to figure it out And we wrote that thing" :D. Romain is so cool

  • @rudiwinkelstein2483
    @rudiwinkelstein2483 5 лет назад +4

    It combines the advantages of flutter with the advantages of native. Pretty neat if it works

  • @michelfeinstein
    @michelfeinstein 5 лет назад +54

    So, basically Flutter comes to native Android?

    • @Virus00000000000001
      @Virus00000000000001 5 лет назад +6

      no more semicolons!

    • @callumvanheerden1530
      @callumvanheerden1530 5 лет назад +8

      I love flutter but hate dart...

    • @michelfeinstein
      @michelfeinstein 5 лет назад +5

      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 года назад +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 года назад +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.

  • @Pulkit__7
    @Pulkit__7 5 лет назад +10

    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

  • @BetoMan996
    @BetoMan996 5 лет назад +37

    Ok so Flutter is for native Android and iOS, Compose is a Flutter specific for Android. Bye java

    • @rudiwinkelstein2483
      @rudiwinkelstein2483 5 лет назад +10

      I won't miss java tbh

    • @coroutinedispatcher
      @coroutinedispatcher 5 лет назад +15

      Well, with compose you were supposed to say Bye XML

    • @rudiwinkelstein2483
      @rudiwinkelstein2483 5 лет назад +5

      ​@@coroutinedispatcher Hopefully. I'm sick of xml after getting a taste of flutter

    • @coroutinedispatcher
      @coroutinedispatcher 5 лет назад +2

      @@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 5 лет назад

      Flutter is dead

  • @wepranaga
    @wepranaga 5 лет назад +5

    i really put my hopes on this to make android development a lot better

  • @getmmg
    @getmmg 5 лет назад +28

    Basically Flutter with Kotlin instead of Dart.

  • @SanalDersaneLeventYadrga
    @SanalDersaneLeventYadrga 4 года назад

    I congratulate you on the honesty in the first minutes.

  • @arindomghosh3144
    @arindomghosh3144 5 лет назад +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.

  • @muhammadrahmatullahrahman1534
    @muhammadrahmatullahrahman1534 5 лет назад +6

    Kotlin on flutter: Klutter

  • @ngenge_senior
    @ngenge_senior 5 лет назад +1

    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

  • @fit_shiv
    @fit_shiv 5 лет назад +1

    So I am worried if it will be able to create the complex UI ?

  • @igorg.8624
    @igorg.8624 5 лет назад +1

    Why is it not production-ready yet? And what happened to ConstraintLayout!

    • @badakml7366
      @badakml7366 4 года назад

      its dead ady because of this new api

  • @andreyabond
    @andreyabond 5 лет назад +3

    Please, tell me how do you run android device emulator in a tool window?

    • @muth0mi
      @muth0mi 5 лет назад

      Someone kindly help with this

    • @LuchoSerruya
      @LuchoSerruya 5 лет назад

      I think that's new with Android Studio 4.0, and maybe it's a Compose specific feature

    • @andreyabond
      @andreyabond 5 лет назад

      @@LuchoSerruya Embedded emulator announced in this video ruclips.net/video/XPMrnR1_Biw/видео.html, but I still can't find out how to rty it in canary release.

    • @logain_ink
      @logain_ink 5 лет назад

      @@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 5 лет назад

      @@logain_ink Thanks! But you talk about live preview, and I am wondering about "embedded device emulator" (this feature announced for 4.0)

  • @ms-songssingh2460
    @ms-songssingh2460 5 лет назад +1

    Could you tell me why goggle are working many platform like flutter Kotlin Android please tell which one is better

  • @SuperNipoon
    @SuperNipoon 4 года назад +1

    When will this be production-ready? Anyone know?

    • @peterwauyo2424
      @peterwauyo2424 4 года назад +1

      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

  • @thawdezin
    @thawdezin 5 лет назад

    I'm hoping documentation about Single Activity Multiple Fragments with Jetpack compose.

  • @gizemburhanoglu720
    @gizemburhanoglu720 5 лет назад

    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 :) )

  • @DavidRobertsonUK
    @DavidRobertsonUK 5 лет назад

    Reminds me a lot of immediate-mode GUI systems (as opposed to the far-more-common retained-mode)

  • @michaelnajera7958
    @michaelnajera7958 5 лет назад

    Can't wait, thanks!

  • @logain_ink
    @logain_ink 5 лет назад

    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.

  • @joelmoreira1546
    @joelmoreira1546 4 года назад

    It looks similar to Flutter, and that's good, I really like this new way to develop apps.

  • @archidvignesh5368
    @archidvignesh5368 4 года назад

    Basically the swift UI for android

  • @nasserkhosravi244
    @nasserkhosravi244 5 лет назад +1

    If you know flutter, you know compose.

  • @juanfrancisco9039
    @juanfrancisco9039 5 лет назад

    Is there any way to pass a parcelable object to another activity?

  • @marlonlom
    @marlonlom 5 лет назад

    what about databinding? how is this related to this new stuff?

  • @LuchoSerruya
    @LuchoSerruya 5 лет назад +1

    Is Compose going to kill the layout editor then?

  • @bestintentions6089
    @bestintentions6089 5 лет назад +3

    is it like SwiftUI in a spirit ?

    • @michelfeinstein
      @michelfeinstein 5 лет назад +2

      It's like Flutter but for Android (SwiftUI is Flutter for iOS)

    • @WakeskaterFr
      @WakeskaterFr 5 лет назад

      @@michelfeinstein SwiftUI is Compose for iOS instead right ?

    • @michelfeinstein
      @michelfeinstein 5 лет назад +1

      @@WakeskaterFr well, Flutter came first, then SwiftUI, then compose.

    • @WakeskaterFr
      @WakeskaterFr 5 лет назад +2

      @@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 5 лет назад

      @@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.

  • @amitmondal7427
    @amitmondal7427 4 года назад

    Oho, this is My Android CSS.

  • @vernoncpowelljr7520
    @vernoncpowelljr7520 5 лет назад

    Thè programs are very detaild,you would everyday want to see

  • @abdelrahmanabied5982
    @abdelrahmanabied5982 5 лет назад +1

    is it flutter ???????????

  • @coroutinedispatcher
    @coroutinedispatcher 5 лет назад

    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 4 года назад

    Good

  • @geekmoh1564
    @geekmoh1564 5 лет назад

    Amazing new layout coding. Seems better than flutter.

  • @LordByron778
    @LordByron778 4 года назад

    SwiftUI comes to Android

  • @KetanVadhavana
    @KetanVadhavana 5 лет назад

    Flutter developers are smiling..

  • @FrantisekNovak55
    @FrantisekNovak55 5 лет назад

    Yes!

  • @DebabrataAcharya93
    @DebabrataAcharya93 4 года назад

    so ... basically Flutter.

  • @GordWayne
    @GordWayne 5 лет назад

    Nice

  • @yitphady9038
    @yitphady9038 4 года назад

    Watch

  • @MalikAbualzait
    @MalikAbualzait 5 лет назад +5

    Flutter!

    • @coroutinedispatcher
      @coroutinedispatcher 5 лет назад

      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 4 года назад

      @@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 4 года назад

      @@coroutinedispatcher managing state automatically in flutter is possible but it requires more boilerplate code

  • @ChrisOvercash
    @ChrisOvercash 5 лет назад +6

    > similar to other R E A C T ive frameworks
    :P

  • @gregfrllo
    @gregfrllo 4 года назад

    10 minutes in, ooohhh flutterrrrrrr

  • @hadifromlebanon3812
    @hadifromlebanon3812 5 лет назад +2

    Hello Flutter

  • @abgzulkifli
    @abgzulkifli 5 месяцев назад

    OK later

  • @pixelPlex
    @pixelPlex 5 лет назад

    Kotlin 1.4 ( ruclips.net/video/dtm2h-_sNDQ/видео.html ) hasn't been released yet.

  • @aditpsgt
    @aditpsgt 4 года назад +1

    its smell like flutter ~

  • @SreeKumar_vijayan
    @SreeKumar_vijayan 4 года назад

    I googled it 😂

  • @ashutoshojha8884
    @ashutoshojha8884 5 лет назад

    Hello World

  • @yunmyeonghun
    @yunmyeonghun 5 лет назад

    Like dart. Too much style and
    Layout coding. Not good enough now. But it will be well later.

  • @salfaial6303
    @salfaial6303 5 лет назад

    Nice french accent

  • @chummyigbo8844
    @chummyigbo8844 5 лет назад

    First comment in the world