Тёмный
Stevdza-San
Stevdza-San
Stevdza-San
Подписаться
Greetings and welcome to my RU-vid channel, my name is Stefan Jovanovic.
I’m an Android Developer, Designer and Technology enthusiast. Love working on a new and exciting projects, sharing my knowledge with others, and always willing to learn more. I believe that permanent education is the key to success.

For sponsorships & collaborations: stefan.jovanavich@gmail.com
Комментарии
@guai9632
@guai9632 3 часа назад
hope we'll have union & intersection types everywhere one day
@WDGKuurama
@WDGKuurama 5 часов назад
Kotlin having error types before C# is crazy. Can't wait for real C# Unions.
@jwhere4834
@jwhere4834 12 часов назад
$$""" Simple and easy $😂 """
@amandasjoberg463
@amandasjoberg463 13 часов назад
I am struggling with how to avoid opening and closing the database multiple times, because I read that best practise is to open it once when starting the app and to close it once when closing the app. I also read that is recommended to have the dbhelper as a singleton. I have several viewmodels that access the database through the database helper and I'm finding it difficult to put all of this together... how do I open it once if I need both a writable and readable db? Also, the context that is passed, is it the activity or fragment? I have one activity and several fragments which in turn have their own view models. Currently all viewmodels create a new dB helper and each method in the dBhelper class opens and closes the dB. I'm real,y struggling with architecture... Anybody got any tips?
@puyadeportivo8541
@puyadeportivo8541 14 часов назад
tanx bro
@FortunateKidz
@FortunateKidz 22 часа назад
Now google doesn't allow to use permission SEND_SMS in the manifest and will reject the app submission bcoz they said it doesn't match the core functionality of the app. Does anybody know how to solve this problem ?
@tahabenly
@tahabenly День назад
Thank you 🎉
@gofudgeyourselves9024
@gofudgeyourselves9024 День назад
ok
@aditya3n
@aditya3n День назад
Hi bro, I couldn't find the exported file even though it's success. Any idea what's wrong with this? BUILD SUCCESSFUL in 1s 1 actionable task: 1 executed Export finished successfully
@jamesdavenavor6247
@jamesdavenavor6247 День назад
The angles on this reel feels weird
@krtirtho
@krtirtho День назад
dataarg❌ Dat aarg✅
@bO-sb7el
@bO-sb7el День назад
where is static extensions? ((
@quantumgaming7
@quantumgaming7 День назад
Dayum that’s nice
@StevdzaSan
@StevdzaSan День назад
"org.jetbrains.kotlin.plugin.compose"
@stealthstalker812
@stealthstalker812 День назад
Instead of using 999dp corner radius, why not using shape="circle" ?
@Virus00000000000001
@Virus00000000000001 2 дня назад
Thats huge stuff. Thanks
@haseeb776
@haseeb776 3 дня назад
Great explanation. I have static list of icons from drawable and i need to show them in recycler view but, recycler view lags on first load. Is there any workaround?
@CarlosMonteirotube
@CarlosMonteirotube 3 дня назад
what's your recommendation for the same type of dropdown with material3 and compose?
@Kinotohki
@Kinotohki 3 дня назад
TYSM!
@jackbrabham
@jackbrabham 4 дня назад
trying to follow the tutorial, but whenever I try to run the project generated through the wizard I get this exception: Exception in thread "main" java.lang.NoClassDefFoundError: androidx/collection/ScatterMapKt can somebody help?
@letmebe_pro
@letmebe_pro 4 дня назад
Every new upgrade - > Kotlin less intuituve/readable. Java is easier in syntax
@StevdzaSan
@StevdzaSan 3 дня назад
Why do you think that?
@letmebe_pro
@letmebe_pro 18 часов назад
@@StevdzaSan You can do so many things in one line of code in Kotlin, but... If you read such code, you must do a lot of effort to understand a sense of this oneliner. I think in this matter Java is more readable although you often must write more lines of code.
@StevdzaSan
@StevdzaSan 18 часов назад
@letmebe_pro I don't think that Kotlin is less readable. However, you do need to learn its syntax to properly understand it. But once you do, it's a whole different story 🚀
@chax255
@chax255 4 дня назад
I would say easier than decompose.
@juanherrera9521
@juanherrera9521 4 дня назад
i cant find any documentation about union types??
@esquilo_atomico
@esquilo_atomico 4 дня назад
love smartcasts
@abdkak4119
@abdkak4119 4 дня назад
I think the best addition is regarding livedata
@virajbenade5572
@virajbenade5572 4 дня назад
sir i am using a sharedPreference is that way is useful in above scenario expect the datapreference library
@universe8989
@universe8989 4 дня назад
Loved the guarded condition!
@khant-nyar
@khant-nyar 4 дня назад
How about android,ios and smart tv please make tutorial i want to make tv app (KMP)
@Ezrael2k5
@Ezrael2k5 4 дня назад
Hey @Stevdza-San, I have migrated my project to Kotlin 2.0, how I can use the BackingFields now, when I'm trying to use it, I got this error: Explicit backing field declarations are not supported in FE 1.0
@StevdzaSan
@StevdzaSan 4 дня назад
Kotlin 2.0(RC1) introduced explicit backing fields as far as I know.
@ohiorenuaaigboje7500
@ohiorenuaaigboje7500 4 дня назад
This is very awesome. I have always found room too tedious. Thank you for this.
@mr.ashutoshkumar4370
@mr.ashutoshkumar4370 4 дня назад
I am suffering with MainKt not found ClassNotFoundException
@frank4pickerson
@frank4pickerson 5 дней назад
Thanks. Great and now waiting for you to update your latest GitHub Multiplatform to 2.0.0
@allanandliftedhands2669
@allanandliftedhands2669 5 дней назад
Kotlin all the way
@evgenii.panaite
@evgenii.panaite 5 дней назад
for those who wants to see error mesaage under the test N3, press pause on 17:24
@jtsdeals
@jtsdeals 5 дней назад
I'm getting "Explicit backing fields are not supported in FE 1.0" when I try the live data example you gave? Here's what Gemni says: In Kotlin 2.0.0, backing fields are not supported in the frontend (FE) 1.0. This means that you cannot access or modify the backing field of a property directly. There are a few reasons for this change. First, backing fields are not necessary in Kotlin. The compiler automatically generates getters and setters for properties, so you don't need to worry about creating them yourself. Second, backing fields can be a source of bugs. If you accidentally modify the backing field directly, you can easily break your code.
@vibovitold
@vibovitold 5 дней назад
I can't find any info on these error objects (6:59). Is it documented or announced somewhere? Could this be only a part of the internal API?
@StevdzaSan
@StevdzaSan 5 дней назад
They are yet to be released, they just announced it on a Kotlin conf. You can watch the video from the conference itself, google it.
@vibovitold
@vibovitold 5 дней назад
@@StevdzaSan got it! Thanks
@DARKcarlos1
@DARKcarlos1 5 дней назад
awesome content Stefan... are you going to update your Kotlin masterclass course with this subject?
@StevdzaSan
@StevdzaSan 5 дней назад
Yep I'll add a few new lectures in the following period.
@gorudonu
@gorudonu 5 дней назад
this is what I needed, more keywords and making language more complicated /s
@StevdzaSan
@StevdzaSan 5 дней назад
No worries, buddy, I'll simplify it for you when the time comes 😎🙌
@vibovitold
@vibovitold 5 дней назад
Nobody forces you to use them, or even to upgrade to 2.0. Besides, a lot of these changes actually simplify things (such as more intuitive smart casting).
@MaggicBones
@MaggicBones 5 дней назад
Thank you so much Stev !
@jam4l
@jam4l 5 дней назад
Great summary, thanks.
@devatrii
@devatrii 5 дней назад
❤❤
@ashwin372
@ashwin372 5 дней назад
isn't kotlin a Java clone
@vibovitold
@vibovitold 5 дней назад
No, it isn't, although if this video (even if you hadn't known anything about Kotlin before) didn't help you realize that, I doubt any comment will
@ibrahimanimasahun9431
@ibrahimanimasahun9431 4 дня назад
lmao! wth
@jcolindres001
@jcolindres001 5 дней назад
Hello Sir, Good video. I hope soon you may do a full stack KMP project (server side, android, iOS, desktop and web). Thanks,
@futsuchinpo9892
@futsuchinpo9892 5 дней назад
i didnt even know there is kotlin 2.0 thanks man
@maousama168
@maousama168 5 дней назад
wowww K2 is amazing, I hope my laptop can run new android studio version + emulator.
@MohsinAli-sc8iv
@MohsinAli-sc8iv 5 дней назад
What happens when I reduce the size of the list that has already been rendered. for example fist its size is 3 and then it reduces to 1. I am getting crash of IndexOutOfBound.
@pankajbohra8637
@pankajbohra8637 5 дней назад
this is the actual function i created to change app language actual fun changeAppLanguage(language: String) { AppCompatDelegate.setApplicationLocales( LocaleListCompat.forLanguageTags(language) ) } For android 14 it is working fine in compose multiplatform if i change app language from inside app its working and if i close the app and reopen then also previous set language is coming. But for android 12 and below it i click on language change btn then app language is not changing. i have to go some other screen and come back to reflect the language change. and if i close app and reopen then delfault language is setting previous selected language is not setting
@randypenajimenez3893
@randypenajimenez3893 5 дней назад
Good choice on taking the goods from C#
@EmanNollase
@EmanNollase 4 дня назад
..also from Swift
@stijndcl
@stijndcl 5 дней назад
Do these new union types for errors open the door to explicit errors/errors as values instead of using `throw`?
@supercurioTube
@supercurioTube 5 дней назад
Wow these are great additions! I've never encountered the type issues fixed however. I didn't really get the extensible data arguments tho, I'll have to look into it more. It makes me wonder if it means passing an object as argument instead of having real function arguments, therefore what would be the performance drawbacks (GC pressure)
@vibovitold
@vibovitold 5 дней назад
It should have been rather easy to implement it as a zero cost abstraction (similar to value classes or inline functions). The best way to find out - other than by looking up the docs - is decompiling the bytecode to Java to see how it's resolved under the hood... (I like doing it that way because it's more instructive)
@supercurioTube
@supercurioTube 5 дней назад
@@vibovitold good point, I hope so too. In a way it is almost odd that this new concept is a "class" but I guess it avoids introducing a completely new thing in the language and its tooling.