If you are new to Compose and are struggling, don't pay attention to the whole "Declarative, imperative, functional, OOP" discussion. I spent way too much time worrying about my ignorance in context when I knew it all along. Basically don't read too much into it and practice building UIs. Rules are the same, we favor Composition vs Inheritance (hence the name) We favor functional (meaning our methods return something useful vs applying side effects). Declarative is as simple as it sounds, boy did I overcomplicate that one... 2 weeks and a RxJava course later (don't ask), I realized they meant just what they said. We declare the UI. Like we declare variables. no initialization or expression to evaluate, nothing to assign to anything else we just declare it. like this: Text() granted we add params to it, but nothing that resembles val text = Text() text.draw() or whatever...
NOTE: in case anyone is having issue with stuff like text not displaying at the beginning, put your phone in light mode. Everything is there but without the theme thingy it will just be all dark
Have really enjoyed your advanced tutorials. Time to go back to the basics n that's why I am here with an intention of watching the entire Jetpack Series playlist.
I don't know will you read this comment or not , but can you please make a new playlist of jetpack compose because now we have material 3 and now jetpack is stable and has included in android studio so I hope if you could make a new playlist of jetpack compose with newest technologies.
Great and excellent job but truly to say, this requires more content like compose with aws integration, complex UI's, animations and sensors integration.
Hi awesome man! You developed a lot!! Well wishes! (why commenting this on old video? 😂 I again started learning app development. I came from your 50min crash course of Jetpack Compose) Have been following you since the beginning.)
Thanks for the great content. I discovered your channel by seeing your video on Brad Traversys channel. I can see why Brad decided to collaborate with you, your great at explaining concepts just like him.
Glad you back, nice to see you doing a compose tutorial Am a bit ahead of you right now (I completed Google pathway a while ago). But can't wait to see you building a fully working app with Compose. Also, while you decided to pursue Web development, I decided to learn flutter which is something I always wanted to know. I read a book about it, now am following a tutorial and then I will build my on flutter app from scratch (my aim with this is to get a good grip on DeclarativeUI development) And by the end of the month I plan to get back developing natively. (Dart is really ugly, flutter "is amazing" but I don't really like it, and all of the gradle errors, plus, Apple isn't very supportive, unless you own a MacBook)
I really tried from 2 laptops but never managed to run the project. Gradle errors, compose errors, kotlin errors. So I will stick with the old way of developing.
Bro is this like the future for layouts ? I am a beginner and would like to know if i should go with XML or Compose for Designing Views . Please Advise
currently I am doing android development with kotlin and xml... I m half way in that series of Philipp. should I continue that series and then come to newer android series of Philipp and this onetoo OR should I ditch that series and go with newer series...???
I'm having problems with gradle while creating a project. It says cannot install gradle from SOMEURL. I have already android studio stable and I'm running canary build side by side.. can anybody help mw out in this.. i tried many solutions from stackoverflow and other resources but it's not working out
Hi Philipp. Your tutorials are so good. Thank you very much for your efforts. Can you please make a video for declarative UI or server driven UI , using jetpack compose.
I have questions but am going to watch promise... So, after using this a bit is it the future? Is it hard to reason about? When people say State regarding compose or other modern UI toolkits... What exactly do they mean? State means so much... we have State Management(ITSM), I wrote a state machine to represent a car module,... it can be an entire snapshot like a context, or it can be one of 2 enums like( isWorking, stoppedWorking) for example. Are they user defined, or system wide? ... I will watch lol. Much love and respect
yes, imo it's the future as this type of UI design is used pretty much everywhere (react, angular, vue.js, iOS, ...). But will take a long while until companies adapt to it, so it doesn't mean XML is deprecated or so. Regarding state: in the end it's any kind of value that can change over time. Can be a number, a string, an object, anything that can change. Together all your states make up how your UI looks in a very specific moment (in combination with the hardcoded stuff).
@@PhilippLackner Thank you so much for the time to clarify! That makes great sense. I am going to get a jump on it anyway so when the world operates this way everywhere I still understand lol. Cheers!
Wow, you sure moved fast. I didn't expect for the videos to come so soon. If I am making a personal project using Hilt+Room+Retrofit+other stuff and for now I keep the UI to a minimum. Can I open later my project with the Canary version of Android Studio and replace the UI with Compose?
Phillip hi, amazing videos, amazing channel, great work. Best android content on youtube. Are you planning to do videos about modular architecture in android?
Why does the preview building take so long? While trying to find whether my Modifier.padding should be 20.dp, or 24.dp, or 22.dp, I took leggit 5 mins.
I am creating a new project in kotlin so i think I make it using jetpack compose so if i do so then all libraries are available in jetpack or for currently i have to use MVVM? Your answer is very important and useful Thank you
@@PhilippLackner Sorry for being unclear. The visual preview of the phone on your screens right side! :) like what you setup to get it to show, it's a text only for me
You mean the android emulator or what? If that's new to you, I can recommend to watch my android fundamentals Playlist first, this is not an absolute beginners Playlist here :)
If you are new to Compose and are struggling, don't pay attention to the whole "Declarative, imperative, functional, OOP" discussion.
I spent way too much time worrying about my ignorance in context when I knew it all along.
Basically don't read too much into it and practice building UIs.
Rules are the same, we favor Composition vs Inheritance (hence the name)
We favor functional (meaning our methods return something useful vs applying side effects).
Declarative is as simple as it sounds, boy did I overcomplicate that one...
2 weeks and a RxJava course later (don't ask), I realized they meant just what they said.
We declare the UI.
Like we declare variables. no initialization or expression to evaluate, nothing to assign to anything else we just declare it.
like this:
Text()
granted we add params to it, but nothing that resembles
val text = Text()
text.draw()
or whatever...
NOTE: in case anyone is having issue with stuff like text not displaying at the beginning, put your phone in light mode. Everything is there but without the theme thingy it will just be all dark
i almost bought an udemy course on this, you just saved me hundred bucks, thank you man💪💪
who pays a hundred bucks on udemy :o But glad you like it and you're welcome :D
"Empty Compose Activity" is no longer an option on the latest version of Android Studio. Any chance we can get an updated starter video?
Eerily similar to SwiftUI. Except the latter works much faster in terms of live preview. Let’s hope this gets better with upcoming stable builds.
Love to see you back !!❤❤
Thanks man!
Glad to see you back in android development SENSEI..
Thanks man!
0:18 Turns out I was!
I was taught Android with Java and XML last year. This year, my teacher gave me a glimpse of what Jetpack Compose is.
Hello, are jetpack compose videos updated? I want to start compose but i want to be sure that those videos aren’t outdated.Thanks alot
Have really enjoyed your advanced tutorials. Time to go back to the basics n that's why I am here with an intention of watching the entire Jetpack Series playlist.
Glad you like them!
Our Hero is back😍 (Everybody touching Phillips like superman 😄😄😄)
I don't know will you read this comment or not , but can you please make a new playlist of jetpack compose because now we have material 3 and now jetpack is stable and has included in android studio so I hope if you could make a new playlist of jetpack compose with newest technologies.
There's a separate material3 Playlist already
Great and excellent job but truly to say, this requires more content like compose with aws integration, complex UI's, animations and sensors integration.
So if I understand it correctly, with Jetpack we have now a similar approach to Flutter, right?
Yes. Even some names are similar. Both are developed by Google. The advantage compose has over flutter is native-ness
Hi awesome man! You developed a lot!! Well wishes!
(why commenting this on old video? 😂 I again started learning app development. I came from your 50min crash course of Jetpack Compose) Have been following you since the beginning.)
Thanks for the great content. I discovered your channel by seeing your video on Brad Traversys channel. I can see why Brad decided to collaborate with you, your great at explaining concepts just like him.
Hey @Philipp I Updated that repository of master branch and create pull request for new viewers. Now they will find updated code.
Love your content - hoping you talk about recommended way to structure the composables in the files.
Should I switch to Jetpack compose? I am new to Android dev with Kotlin
So basically, they turned the normal way into Flutter way, yes?
What next??? Probably giving a plugin to make iOS from here itself too?
All hail before Sensei Phillip!
Excited for this series!
hi bro
Is this course complete for jet pack Compose ?
i'm excited about jetpack...I hope this could be a great playlist
Hope you enjoy it!
The best... You! Welcome back!
IS this kinda Flutter app development, like in that UI and functionality are done in the same file?
Exactly, but we should still separate UI and business logic. ViewModels will still be a thing
Do I need any knowledge before hand like Kotlin or Android studio or is everything explained in this course?
Welcome home! Back to your friend Android
Thanks mate
Sir, just finished thw kotlin basics do i start from here or do i start from Android basics ? And wich basics the ols one or 2024 one ?
Love you man❤️❤️
Thanks for getting back to android ❤️❤️❤️😘😘😘
Youre welcome!
THIS CHANGES EVERYTHING!
Will you update this course?
Pls also cover Material Design Components.
hello.. thanks for the video. I need a video that can teach me how to create a start-up screen. please I am just a beginner.
Glad you back, nice to see you doing a compose tutorial
Am a bit ahead of you right now (I completed Google pathway a while ago). But can't wait to see you building a fully working app with Compose.
Also, while you decided to pursue Web development, I decided to learn flutter which is something I always wanted to know.
I read a book about it, now am following a tutorial and then I will build my on flutter app from scratch (my aim with this is to get a good grip on DeclarativeUI development)
And by the end of the month I plan to get back developing natively. (Dart is really ugly, flutter "is amazing" but I don't really like it, and all of the gradle errors, plus, Apple isn't very supportive, unless you own a MacBook)
I feel the same, Flutter is cool, but dart makes it not fun. I'd love to try out making iOS apps but I don't love to buy apple products
@@PhilippLackner Really, i comes from Flutter,
Just and FYI: there is installer version if you click on the "MORE DOWNLOADS"
U r rocking as coding side, love to see you once again with new concept
More to come!
I really tried from 2 laptops but never managed to run the project. Gradle errors, compose errors, kotlin errors. So I will stick with the old way of developing.
Hey buddy Awesome video as always! - hope you are taking care of your health :)
Sure thing, thank you :)
Welcome Backe My Friend 🧡👌
Thanks!
Bro is this like the future for layouts ? I am a beginner and would like to know if i should go with XML or Compose for Designing Views . Please Advise
.
Thanks you add time slots. I can much quicker with it.
currently I am doing android development with kotlin and xml... I m half way in that series of Philipp. should I continue that series and then come to newer android series of Philipp and this onetoo OR should I ditch that series and go with newer series...???
if ur looking for jobs as native developer ASAP then complete that first
Is it not similar to what we have in flutter to create UI?
When I moved from web to android and realized there's no Css html and everything is just so organized and intuitive It was music to my eyes ahaha
I'm having problems with gradle while creating a project. It says cannot install gradle from SOMEURL. I have already android studio stable and I'm running canary build side by side.. can anybody help mw out in this.. i tried many solutions from stackoverflow and other resources but it's not working out
Hi Philipp. Your tutorials are so good. Thank you very much for your efforts. Can you please make a video for declarative UI or server driven UI , using jetpack compose.
This is really interesting.... Waiting for next part... Thanks
Thanks for watching
Nice video! regards from Argentina
Thank you so much. This video was very helpful...
Hi sir. Can you make video related to Picture-in-Picture RUclips video playing in jetpack compose?
Best tutor in the YT!
Thanks bro!
Guys, is it worth to watch the playlist in 2024?
Build fails everytime. I am getting this error:
Execution failed for task ':app:compileDebugKotlin'.
Can someone please help?
I have questions but am going to watch promise...
So, after using this a bit is it the future?
Is it hard to reason about?
When people say State regarding compose or other modern UI toolkits... What exactly do they mean?
State means so much... we have State Management(ITSM), I wrote a state machine to represent a car module,... it can be an entire snapshot like a context, or it can be one of 2 enums like( isWorking, stoppedWorking) for example.
Are they user defined, or system wide?
... I will watch lol.
Much love and respect
yes, imo it's the future as this type of UI design is used pretty much everywhere (react, angular, vue.js, iOS, ...). But will take a long while until companies adapt to it, so it doesn't mean XML is deprecated or so.
Regarding state: in the end it's any kind of value that can change over time. Can be a number, a string, an object, anything that can change. Together all your states make up how your UI looks in a very specific moment (in combination with the hardcoded stuff).
@@PhilippLackner Thank you so much for the time to clarify!
That makes great sense.
I am going to get a jump on it anyway so when the world operates this way everywhere I still understand lol.
Cheers!
Yo man you came back ❤️❤️ 👌🏻👌🏻👌🏻
I am :)
Welcome back Philipp :)
Thanks!
Wow, you sure moved fast. I didn't expect for the videos to come so soon. If I am making a personal project using Hilt+Room+Retrofit+other stuff and for now I keep the UI to a minimum. Can I open later my project with the Canary version of Android Studio and replace the UI with Compose?
Yea it's compatible with fragments and Android views
Is it good idea to make production app using compose now? For releasing in 3 months?
I wouldn't do it
I think it is better to learn Flutter then jetpack compose
welcome back
I really hope you implement firebase with jetpack compose
Thanks, I'm not planning to use Firebase anymore though, I really don't like it
@@PhilippLackner wow i really didn't expect that
What do you prefer over firebase?
Thanks.. Much waited 👍
Most welcome 😊
Wow welcome back 👏👏🌹🌹
Thank you! 😃
Thankful. understandably explained
I'm really hoping this becomes norm. Android native XML feels ancient compared to SwiftUI and a pain in the a$$
Maybe I need to be patient for later videos, but can we use this with strings.xml for localization? Do we just use getString() as usual?
You can use stringResource() function
Good your back on android
Yes! :)
Phillip hi, amazing videos, amazing channel, great work. Best android content on youtube.
Are you planning to do videos about modular architecture in android?
any idea for dynamic BottomSheet layouts using Compose?
There is a BottomSheetScaffold
have you totally replaced xml with compose?
welcome back
Jetpack compose is not so good, I prefer XML and also the android studio needs to re-build the project on every code change
Why does the preview building take so long? While trying to find whether my Modifier.padding should be 20.dp, or 24.dp, or 22.dp, I took leggit 5 mins.
It's super buggy atm, that's why I directly launch the app in the emulator
can't wait for part 2
I'll give my best to return to a 2-day video frequency again :)
Welcome back ❤
Thanks!
Hey guys is this playlist still good for 2024? I am trying to learn jetpack compose now. Please reply.
Yeah its pretty good, compose have not got any major update since then. In fact most people are thinking about learning it now only
♥️♥️♥️♥️♥️ thank you so much Brother .. love you 😘😘🥰
Always welcome
this will change every thing like recycle view ?
Happiness start from here😋
Yes 😊
I hope the you consider shwoing us State in Composeables
and hkw to work wigh ViewModels
bacause the example in the Docs is not really clear ❤✌🏼
Of course 👍
I am creating a new project in kotlin so i think I make it using jetpack compose so if i do so then all libraries are available in jetpack or for currently i have to use MVVM? Your answer is very important and useful Thank you
Yea you can use anything like before
@@PhilippLackner Thank you so much
Great thanks for the update
Bro drawble are also in kotlin and not in XML?
4:47 "which will just take a few hours to finish building". Lol did I hear that right?
yeah i went crazy lol
you are back!!
Do you think it makes sense to switch a productive app to jetpack compose ?
Once it's stable
Looks like flutter
I am wondering how to get the visual preview of a phone showing. There seems to be some steps not shown here, otherwise i like the content!
what do you mean with visual preview of a phone?
@@PhilippLackner Sorry for being unclear. The visual preview of the phone on your screens right side! :) like what you setup to get it to show, it's a text only for me
You mean the android emulator or what? If that's new to you, I can recommend to watch my android fundamentals Playlist first, this is not an absolute beginners Playlist here :)
@@PhilippLackner Yes! Perfect! Thank your for your answer
2k21 begins !❤️
Let's spread some compose in between all that corona shit
Thank you Philip
Such a great content ! Germans should make you chancellor of deutchland sir!
Please make Google Maps API Tutorial
Camping for more of this 😊
Glad to hear that
Good to see you back Philip!!!
Thank you!
I think this things going to support hot reload in future
Let's hope so
Does this version of Android studio available only for Windows?im using Ubuntu btw
no, you can download it for mac and linux as well, it's a little hidden: developer.android.com/studio/archive
Good Video
Thanks
ooooooooh welcome back
Thank you
Mantap bang !!!
Thank you brather