This Is My FAVORITE Error Handling Class
28:57
КОМЕНТАРІ
@jeeva3984
@jeeva3984 39 хвилин тому
Then why flutter ?
@pablovaldes6022
@pablovaldes6022 3 години тому
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.
@monsterbrain
@monsterbrain 6 годин тому
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)
@dabert5972
@dabert5972 8 годин тому
PHILLIPP YOU ARE THE MAN
@Atmatan_Kabbaher
@Atmatan_Kabbaher 9 годин тому
It also makes them more exploitable 😏
@prev_knowunique
@prev_knowunique 10 годин тому
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..
@devanov3103
@devanov3103 11 годин тому
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 👍
@DarrenHinderer
@DarrenHinderer 11 годин тому
ko-in? lol why not pronounce like "coin"
@PhilippLackner
@PhilippLackner 11 годин тому
Koin = kotlin inject
@disgruntled_llama
@disgruntled_llama 13 годин тому
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!
@malschauen6267
@malschauen6267 14 годин тому
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.
@alfi9445
@alfi9445 16 годин тому
Is it possible to use code completions without sending data to google? When developing for a company, this is often not allowed.
@paolomazza5906
@paolomazza5906 16 годин тому
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....
@olwethupissot
@olwethupissot 17 годин тому
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😊.
@jasmeetsinghchawla3755
@jasmeetsinghchawla3755 18 годин тому
Hey Philip can u make a video regarding the new changes in the google signin using firebase ?
@brianquigley1940
@brianquigley1940 20 годин тому
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?
@ziasheikh2863
@ziasheikh2863 20 годин тому
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.
@lanegiverprivatfinansieret823
@lanegiverprivatfinansieret823 20 годин тому
Is this course still up-to-date? Or is another course coming soon?
@Lalaa98..
@Lalaa98.. 20 годин тому
How can I change the language in the application?
@nickb7170
@nickb7170 21 годину тому
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}") }
@skarloti
@skarloti 23 години тому
You are like the great Arnold! Impressed by the short presentation, but the top of the future of programming. 🎉
@skarloti
@skarloti 23 години тому
Your smile conveyed satisfaction at Kotlin's progress. It was an important part of the presentation.
@ultraknown1270
@ultraknown1270 23 години тому
Greate content, Thanks
@events4089
@events4089 День тому
Bro please do a video on Room database for kmp
@hafizmohd013
@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
@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
@juandurini309
@juandurini309 8 годин тому
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
@Jjjnmkkmkkk День тому
Why don't you make your videos in Java
@user-pj4kb1dl3w
@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.
@PhilippLackner
@PhilippLackner 22 години тому
KMP is pretty ready, just Compose MP not yet
@hippolytedev
@hippolytedev День тому
Wow mais je pensais que ce serait 100 fois plus dure que ça, MERCI
@alsh2887
@alsh2887 День тому
With KMM it will take over.
@MonichGPT
@MonichGPT День тому
You ever getting ViewModel by hands! This is not DI!!! It is not even verify the dependency graph!!!
@PhilippLackner
@PhilippLackner День тому
What bro
@devgabriel6898
@devgabriel6898 День тому
Going nicely! But still too godamn complex. I will wait until they have something that does everything in this nice video automatically
@MonichGPT
@MonichGPT День тому
Koin is not dependency injection! Koin is service locator!
@PhilippLackner
@PhilippLackner День тому
Dependency injection = passing objects to objects Exactly what's happening here in the VM's constructor ;)
@MonichGPT
@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
@superhumandose День тому
Hey Phillip, can you do another updated Jetpack Crash course. There is literally very limited content on UKposts on that
@maksBan1919
@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
@NaughtyProduction День тому
Hii
@anudeepananth
@anudeepananth День тому
Hey Phillip, is your paid course on KMM updated with these new libraries and developments in KMM?
@user-yu6uf1wg8t
@user-yu6uf1wg8t День тому
github copilot is far better than Gemini AI
@sameershelar2000
@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
@PhilippLackner День тому
Yes
@Fo0nT
@Fo0nT День тому
Next video: Room for KMP
@mohegyux4072
@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
@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
@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
@PhilippLackner День тому
One process death and your app will misbehave. Don't do that :D
@mohegyux4072
@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
@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
@ahmadhamwi4081 День тому
Thank you for your efforts into making this video! Really appreciate it!
@D-Gowda-vb4si
@D-Gowda-vb4si День тому
Should I learn some IOS basics like we had in Android Basics before starting KMP? Does IOS have intents?, Broadcast?
@roshkaalex
@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
@D-Gowda-vb4si День тому
Can't we use KMP in windows?
@PhilippLackner
@PhilippLackner День тому
Yes
@arozendojr
@arozendojr День тому
Suggestion, show how compose-ios works, compare with how React-native or Flutter works, write once and run on both emulators
@vladalexeev8529
@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
@PhilippLackner День тому
Preview for CMP is not supported in Android studio yet
@Kmg403
@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
@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
@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
@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
@xlwin_emplyesmustwashhands День тому
And its showing unresolved reference
@Splatschi
@Splatschi 2 дні тому
Hi @PhilippLackner thank you for this awesome tutorial. Is it also possible in xml instead of jetpack compose?