Looking great already I wonder if disabling Activity re-creation when configuration changes(in the manifest), will make this easier and we wouldn't need to expect/actual ViewModel modules and classes.
@monsterbrain6 годин тому
Reason is actually simple. It's easy to be lazy. 😂 Only through change in habits and environment, one can change i think.. (atomic habits might help)
@dabert59728 годин тому
PHILLIPP YOU ARE THE MAN
@Atmatan_Kabbaher9 годин тому
It also makes them more exploitable 😏
@prev_knowunique10 годин тому
thats really a very excellent one...but sir i had an issue, it's not working on real devices..how to troubleshoot n solve that problem. Please, Guide Sir..
@devanov310311 годин тому
Hat ich's mir doch gedacht, dass Du Deutscher bist. Deine Videos sind die perfekte Ergänzung zum Android Course with Jetpack Compose. Ich find's ein bisschen schwach, dass Google dort keine Grundlagenvideos anbietet. Der Code wird zwar gut erklärt, aber der Kontext fehlt. Von daher danke für die Videoreihe 👍
@DarrenHinderer11 годин тому
ko-in? lol why not pronounce like "coin"
@PhilippLackner11 годин тому
Koin = kotlin inject
@disgruntled_llama13 годин тому
Why is it that ever time I go searching for an explanation of something in Android development I always seem to end up on this channel? Thanks for all of this information, Philipp! Danke Schoen!
@malschauen626714 годин тому
Helpful info. This would be a nice 🌞addition to incorporate into your premium course "Building Industry-Level Multiplatform Apps With KMM" (could also be renamed KMM ---> KMP). Are any updates planned? Some policy would be useful to know.
@alfi944516 годин тому
Is it possible to use code completions without sending data to google? When developing for a company, this is often not allowed.
@paolomazza590616 годин тому
I've been using it since it was released on AS Jellyfish. I think Gemini is REALLY powerful when it comes to provide documentation for composable functions. For the rest I think it's still buggy and unreliable....
@olwethupissot17 годин тому
Hey Philipp, I just wanted to express the Kotzilla team's gratitude for this incredible video! Your tutorial is super informative. Thanks so much also for sharing your experience with Koin😊.
@jasmeetsinghchawla375518 годин тому
Hey Philip can u make a video regarding the new changes in the google signin using firebase ?
@brianquigley194020 годин тому
Kotlin, OOP, Android... the more I learn, the more I am completely stunned at how ludicroulsy complex it is... so many different ways to overcome the global vs local variable problem (aka client-server where do I put the code/data problem)... Synthetics, deprecated, no longer supported, then findViewById/binding, now Jetpack Compose... what next?
@ziasheikh286320 годин тому
hi @Philipp! I am big fan of you your content is just amazing. Can you please tell me which .tflite model can be used for text recognition, I already used Mlkit but result is not satisfying, sometimes it detects text and sometimes not, so I want to use .tflite models for text recognition so that they can detect custom text. Please guide.
@lanegiverprivatfinansieret82320 годин тому
Is this course still up-to-date? Or is another course coming soon?
@Lalaa98..20 годин тому
How can I change the language in the application?
@nickb717021 годину тому
My Solution: fun main() { val x = 3 val y = 4 val z = 5 println("x has the value of: $x") println("The result of x + y is: ${x+y}") println("The result off x + y + z is: ${x+y+z}") }
@skarloti23 години тому
You are like the great Arnold! Impressed by the short presentation, but the top of the future of programming. 🎉
@skarloti23 години тому
Your smile conveyed satisfaction at Kotlin's progress. It was an important part of the presentation.
@ultraknown127023 години тому
Greate content, Thanks
@events4089День тому
Bro please do a video on Room database for kmp
@hafizmohd013День тому
@Philipp can you share on how use pagination in composeApp Multiplatform. So far, cash app library however this library soon not will maintain.
@andreaslinis1586День тому
Hello Philip, is it safe to use compose multiplatform for migration òf an already existing production android project to ios, or do you think it is not stable enough
@juandurini3098 годин тому
Compose Multiplatform is still in alpha, so thing might change in the future and that could lead to deprecations and big refactors in the future
@JjjnmkkmkkkДень тому
Why don't you make your videos in Java
@user-pj4kb1dl3wДень тому
That is why I prefer flutterr. I mean I love kotlin and Jetpack Compose, but the KMP is pretty new, so the ecosystem is not ready for real production and you need to solve everything by youself.
@PhilippLackner22 години тому
KMP is pretty ready, just Compose MP not yet
@hippolytedevДень тому
Wow mais je pensais que ce serait 100 fois plus dure que ça, MERCI
@alsh2887День тому
With KMM it will take over.
@MonichGPTДень тому
You ever getting ViewModel by hands! This is not DI!!! It is not even verify the dependency graph!!!
@PhilippLacknerДень тому
What bro
@devgabriel6898День тому
Going nicely! But still too godamn complex. I will wait until they have something that does everything in this nice video automatically
@MonichGPTДень тому
Koin is not dependency injection! Koin is service locator!
@PhilippLacknerДень тому
Dependency injection = passing objects to objects Exactly what's happening here in the VM's constructor ;)
@MonichGPTДень тому
@@PhilippLackner DI and SL it different patterns. Please read about it. You miss the point: DI is not passing objects, DI it is about getting objects and SL it is about taking objects.
@superhumandoseДень тому
Hey Phillip, can you do another updated Jetpack Crash course. There is literally very limited content on UKposts on that
@maksBan1919День тому
How can I now put this _searchText, _person etc. to another class representing states for that screen? Typically i would have "_someScreenState" class and inside values which are basic types like strings, ints etc. In this case my searchText would be just a normal string and we cannot use "combine" function
@NaughtyProductionДень тому
Hii
@anudeepananthДень тому
Hey Phillip, is your paid course on KMM updated with these new libraries and developments in KMM?
@user-yu6uf1wg8tДень тому
github copilot is far better than Gemini AI
@sameershelar2000День тому
Can I use this ViewModel without Compose Multiplatform? I want to do a similar implementation you did in your KMM course. Shared View Model with nativeUI.
@PhilippLacknerДень тому
Yes
@Fo0nTДень тому
Next video: Room for KMP
@mohegyux4072День тому
I reaaly hate viewmodels and these design patterns, I just use Object classes, lives forever and access it anywhere, I know it's "wrong" but it's easier for my tiny brain, I seperate concerns on my own and make single sources of truth on my own, all in singleton objects
@JeffreyLiu8День тому
Lives forever may have potential memory issue, and you would have to write specific code to cancel work for some screens based on requirements.
@mohegyux4072День тому
@@JeffreyLiu8 True, I do handle cancelling work , and I always use try catch just in case and log the errors to my backend. for me this makes sense esp. for simple apps and for one-dev apps
@PhilippLacknerДень тому
One process death and your app will misbehave. Don't do that :D
@mohegyux4072День тому
@@PhilippLackner may be make a video "why we need viewmodels?" <3 , back in the android's view-based paradigm if some code tries to access a view that isn't there or if the activity is not started an error would occur. but in the jetpack compose system we don't interact with views directly, we just update a state flow for example and compose handles making the changes, then why should I execute such code from a life-cycle aware viewmodel rather than just from a singleton object ?
@mohegyux4072День тому
@@PhilippLackner for example I have an object named 'ui' that contains some mutable state flows like "button1_visible" , "current_text" etc, why should I put them in a viewmodel and not in a simple singleton ?
@ahmadhamwi4081День тому
Thank you for your efforts into making this video! Really appreciate it!
@D-Gowda-vb4siДень тому
Should I learn some IOS basics like we had in Android Basics before starting KMP? Does IOS have intents?, Broadcast?
@roshkaalexДень тому
Thank you Philipp! Still one question is. How to share one instance of viewmodel between compostable functions in nav graph? And how to pass arguments in viewmodel +koin
@D-Gowda-vb4siДень тому
Can't we use KMP in windows?
@PhilippLacknerДень тому
Yes
@arozendojrДень тому
Suggestion, show how compose-ios works, compare with how React-native or Flutter works, write once and run on both emulators
@vladalexeev8529День тому
This video is right what I needed as I'm making KMP project with viewmodels and jetpack nav. For whatever reason my latest Android Studio doesn't show me preview in composable functions of KMP project, although ui tooling is in gradle.
@PhilippLacknerДень тому
Preview for CMP is not supported in Android studio yet
@Kmg403День тому
What I've done is make a preview file in the Android package and it holds all of the previews for all of my screens. They could be split to separate files, but I decided to do it this way and use the gallery view to look at specific ones.
@mizechДень тому
Well, the argument, that you should not leave because something else might be troublesome as well: Would you stay in a place, year after year, only because someone says "Somewhere else it might suck as well."? And I have to disagree: iOS have become more and more accessible over the years. In iOS they REALLY try to reduce the complexity.
@PeopleLetMeДень тому
00:00 - Intro and Examples 05:01 - Adding a New Firebase Project 09:14 - PushNotificationService 13:30 - ChatState 14:43 - SendMessageDto & NotificationBody 17:42 - FcmApi 18:47 - ChatViewModel 25:34 - EnterTokenDialog 32:29 - ChatScreen 36:14 - MainActivity and Permissions 38:37 - Important Warning 39:13 - MainActivity and Permissions 40:46 - Testing 44:27 - Adding Broadcasting 46:07 - Backend and Ktor 1:00:33 - Testing and a Fixing Errors 1:05:42 - Outro
@xlwin_emplyesmustwashhandsДень тому
Hey man, just a doubt.. remember launcher for activity result doesnt show at my android studo 4:44, pls help me
@xlwin_emplyesmustwashhandsДень тому
And its showing unresolved reference
@Splatschi2 дні тому
Hi @PhilippLackner thank you for this awesome tutorial. Is it also possible in xml instead of jetpack compose?