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.
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.
@@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++ :)
@@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.
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
@@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.
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.
@@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.
@@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)
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
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 :) )
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.
@@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).
@@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.
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.
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
@@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)
This reminds me of CSS and bootstrap
Yeah! Me too
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.
The inspiration is clearly from React
35:31 "It took us 5 minutes to figure it out And we wrote that thing" :D. Romain is so cool
It combines the advantages of flutter with the advantages of native. Pretty neat if it works
So, basically Flutter comes to native Android?
no more semicolons!
I love flutter but hate dart...
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.
@@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++ :)
@@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.
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
Yea that's what i thought
Ok so Flutter is for native Android and iOS, Compose is a Flutter specific for Android. Bye java
I won't miss java tbh
Well, with compose you were supposed to say Bye XML
@@coroutinedispatcher Hopefully. I'm sick of xml after getting a taste of flutter
@@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.
Flutter is dead
i really put my hopes on this to make android development a lot better
Basically Flutter with Kotlin instead of Dart.
Flutter + Dart = Fart 😂
and first capital letter methods instead of construcors
I congratulate you on the honesty in the first minutes.
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.
Kotlin on flutter: Klutter
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
So I am worried if it will be able to create the complex UI ?
Why is it not production-ready yet? And what happened to ConstraintLayout!
its dead ady because of this new api
Please, tell me how do you run android device emulator in a tool window?
Someone kindly help with this
I think that's new with Android Studio 4.0, and maybe it's a Compose specific feature
@@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.
@@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)
@@logain_ink Thanks! But you talk about live preview, and I am wondering about "embedded device emulator" (this feature announced for 4.0)
Could you tell me why goggle are working many platform like flutter Kotlin Android please tell which one is better
When will this be production-ready? Anyone know?
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
I'm hoping documentation about Single Activity Multiple Fragments with Jetpack compose.
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 :) )
Reminds me a lot of immediate-mode GUI systems (as opposed to the far-more-common retained-mode)
Can't wait, thanks!
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.
It looks similar to Flutter, and that's good, I really like this new way to develop apps.
Basically the swift UI for android
If you know flutter, you know compose.
Is there any way to pass a parcelable object to another activity?
what about databinding? how is this related to this new stuff?
Is Compose going to kill the layout editor then?
is it like SwiftUI in a spirit ?
It's like Flutter but for Android (SwiftUI is Flutter for iOS)
@@michelfeinstein SwiftUI is Compose for iOS instead right ?
@@WakeskaterFr well, Flutter came first, then SwiftUI, then compose.
@@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).
@@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.
Oho, this is My Android CSS.
Thè programs are very detaild,you would everyday want to see
is it flutter ???????????
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.
Good
Amazing new layout coding. Seems better than flutter.
SwiftUI comes to Android
Flutter developers are smiling..
Yes!
so ... basically Flutter.
Nice
Watch
Flutter!
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
@@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)
@@coroutinedispatcher managing state automatically in flutter is possible but it requires more boilerplate code
> similar to other R E A C T ive frameworks
:P
10 minutes in, ooohhh flutterrrrrrr
Hello Flutter
OK later
Kotlin 1.4 ( ruclips.net/video/dtm2h-_sNDQ/видео.html ) hasn't been released yet.
its smell like flutter ~
I googled it 😂
Hello World
Like dart. Too much style and
Layout coding. Not good enough now. But it will be well later.
Nice french accent
First comment in the world