Kotlin Sealed Class (With Demo Source code)

  Рет қаралды 19,194

Smartherd

Smartherd

Күн бұрын

Пікірлер: 45
@SriyankSiddhartha
@SriyankSiddhartha 2 жыл бұрын
Comment to support this video. Thanks folks!
@SergiiSukhanov
@SergiiSukhanov Жыл бұрын
That's amazing explanation. Thank you so much. Just 10 minutes and things becoming much clearer. Thank you.
@GK-rc3fd
@GK-rc3fd 2 жыл бұрын
The way you explain is unique, I got clear the concept just like magic. Thanks It would be great if you create a video for patterns in Android MVVM, MVC, etc.
@cub3608
@cub3608 Жыл бұрын
this really helped my kotlin journey
@maximkarassev1016
@maximkarassev1016 2 жыл бұрын
You forgot to mention that starting from Kotlin version 1.5 we can define subclasses of sealed class in other files as well if we want to. There is no any restriction to do that!
@SunilRathod-kl9fe
@SunilRathod-kl9fe 2 жыл бұрын
That was really superb video, easy to understand, Thank you
@velturidasarath7420
@velturidasarath7420 7 ай бұрын
Thank you for clear information on sealed class
@vengateshm2122
@vengateshm2122 2 жыл бұрын
If possible kindly create a pure kotlin project which has all the features you have been telling. So that will be a single place to cover all kotlin language features.
@smartherd
@smartherd 2 жыл бұрын
Make sense. Noted
@bipinbharti6540
@bipinbharti6540 Жыл бұрын
Awesome sir ji. the way you explain it's very understandable sir. I learn many new things from you sir ji. Keep going.
@rajendrapawar7369
@rajendrapawar7369 Жыл бұрын
nice video but would like to add one correction , sealed class constructor is protected by default .
@samirthapa6145
@samirthapa6145 Жыл бұрын
Superb explanation. Thanks
@mdjahidulislam9205
@mdjahidulislam9205 2 жыл бұрын
would you please make a video, how to read Android documentation, how gradle is working in android, core things of android, i can build android app, but still having issue reading Android doc . please
@essohesmel5003
@essohesmel5003 2 жыл бұрын
Hey man, It works great and without any problems.
@deletevil
@deletevil Жыл бұрын
Great explanation!
@messi13121
@messi13121 6 ай бұрын
Just one word for explanation "CLASS"
@TarekBuhdeima
@TarekBuhdeima Жыл бұрын
amazing explanation. Thank you so much
@shortmoviecut
@shortmoviecut 8 ай бұрын
Appreciate ur work brother. Kinda usefull for me.
@cyberavater8103
@cyberavater8103 2 жыл бұрын
Can you make a lecture on Generics in Kotlin? I'm having hard time learning it (most of them are from java to kotlin). I find your teaching method very effective. It'll be nice if you can help out.
@vikassharma-by4kw
@vikassharma-by4kw 2 жыл бұрын
Why we can't use is keyword for singleton object??
@smartherd
@smartherd 2 жыл бұрын
That's already a singleton. And using 'is' makes that redundant
@danielmwinzi9223
@danielmwinzi9223 2 жыл бұрын
I somehow in a way understand all of your tutorials
@emu9991
@emu9991 2 жыл бұрын
Hey if u can add summary and caveats which you show at the end of the video in the code as comment. It will act like a complete notes and will be a go to place for many people.. Hope u consider this. thanks
@HamedLashkarizadeh
@HamedLashkarizadeh 7 ай бұрын
thank you
@bipulsarkar3910
@bipulsarkar3910 Жыл бұрын
Great tutorial (y) easy to learn
@FreakWitch
@FreakWitch 2 ай бұрын
thanks alot 🙂
@emanoel724
@emanoel724 2 жыл бұрын
Thank you very much for the video, buddy. I"ve just subscribed to your channel.
@owenlie
@owenlie 2 жыл бұрын
I still don't get why private keyword is not enough? I still confused
@UpLiftingU007
@UpLiftingU007 2 жыл бұрын
Why not use abstract class rather than sealed class Because classes only can be inherited from sealed class in same file or there are more advantages?
@samirthapa6145
@samirthapa6145 Жыл бұрын
Compile time error if we miss any class that extended sealed class in the when condition. Mainly used to manage state .
@s.m.isratara1056
@s.m.isratara1056 2 жыл бұрын
Sir please make a video on alarm manger time should be set in code manually ...please sir..!!!
@sireeshasiri373
@sireeshasiri373 2 жыл бұрын
Amazing video
@reddysurender
@reddysurender Жыл бұрын
Really super
@MrSojek
@MrSojek 2 жыл бұрын
Do you have any apps in Google Play store?
@smartherd
@smartherd 2 жыл бұрын
No
@programers
@programers Жыл бұрын
good job
@HoaNguyen-iu7hu
@HoaNguyen-iu7hu 2 жыл бұрын
Great video. Thanks
@bhardwajatul09
@bhardwajatul09 2 жыл бұрын
Awesome
@Kepler57
@Kepler57 2 жыл бұрын
Big thumb up!
@Guruprakashc
@Guruprakashc 8 ай бұрын
👍
@vinaybakle6443
@vinaybakle6443 2 жыл бұрын
Thoda bahut samja
@2chotti
@2chotti Жыл бұрын
thank you
@saranyagovindan8423
@saranyagovindan8423 2 жыл бұрын
Great video
@John-qt6qk
@John-qt6qk 2 жыл бұрын
Awesome
@smartherd
@smartherd 2 жыл бұрын
Amazing
Kotlin Enum class (with Demo Source Code)
11:05
Smartherd
Рет қаралды 12 М.
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
火影忍者一家
Рет қаралды 129 МЛН
This mother's baby is too unreliable.
00:13
FUNNY XIAOTING 666
Рет қаралды 40 МЛН
Mom had to stand up for the whole family!❤️😍😁
00:39
Ouch.. 🤕⚽️
00:25
Celine Dept
Рет қаралды 15 МЛН
Kotlin Coroutine (High-quality Course)
2:07:37
Smartherd
Рет қаралды 104 М.
Every Kind of Class in Kotlin
10:44
Dave Leeds
Рет қаралды 12 М.
3 Clean Code Hacks I Bet You Didn't Know (Kotlin & Android)
12:30
Philipp Lackner
Рет қаралды 27 М.
Sealed Classes
5:30
KotlinBytes
Рет қаралды 4,6 М.
How to Make Your Code Clean With Kotlin Sealed Classes
18:09
Philipp Lackner
Рет қаралды 41 М.
JavaScript Event Loop -- Visualized!
29:43
ColorCode
Рет қаралды 14 М.
Kotlin Generics Explained with Example
10:18
Simplified Coding
Рет қаралды 18 М.
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
火影忍者一家
Рет қаралды 129 МЛН