Kotlin Sealed Class (With Demo Source code)

Поделиться
HTML-код
  • Опубликовано: 2 ноя 2024

Комментарии • 45

  • @SriyankSiddhartha
    @SriyankSiddhartha 2 года назад +12

    Comment to support this video.
    Thanks folks!

  • @SergiiSukhanov
    @SergiiSukhanov Год назад +1

    That's amazing explanation. Thank you so much. Just 10 minutes and things becoming much clearer. Thank you.

  • @GK-rc3fd
    @GK-rc3fd 2 года назад +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 года назад +3

    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 года назад +1

    That was really superb video, easy to understand, Thank you

  • @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.

  • @velturidasarath7420
    @velturidasarath7420 7 месяцев назад

    Thank you for clear information on sealed class

  • @messi13121
    @messi13121 6 месяцев назад

    Just one word for explanation "CLASS"

  • @vengateshm2122
    @vengateshm2122 2 года назад +4

    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.

  • @shortmoviecut
    @shortmoviecut 9 месяцев назад

    Appreciate ur work brother. Kinda usefull for me.

  • @samirthapa6145
    @samirthapa6145 Год назад

    Superb explanation. Thanks

  • @essohesmel5003
    @essohesmel5003 2 года назад

    Hey man, It works great and without any problems.

  • @rajendrapawar7369
    @rajendrapawar7369 Год назад

    nice video but would like to add one correction , sealed class constructor is protected by default .

  • @TarekBuhdeima
    @TarekBuhdeima Год назад

    amazing explanation. Thank you so much

  • @deletevil
    @deletevil Год назад

    Great explanation!

  • @HamedLashkarizadeh
    @HamedLashkarizadeh 7 месяцев назад

    thank you

  • @FreakWitch
    @FreakWitch 3 месяца назад

    thanks alot 🙂

  • @mdjahidulislam9205
    @mdjahidulislam9205 2 года назад +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

  • @danielmwinzi9223
    @danielmwinzi9223 2 года назад

    I somehow in a way understand all of your tutorials

  • @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.

  • @bipulsarkar3910
    @bipulsarkar3910 Год назад

    Great tutorial (y) easy to learn

  • @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

  • @emanoel724
    @emanoel724 2 года назад

    Thank you very much for the video, buddy. I"ve just subscribed to your channel.

  • @reddysurender
    @reddysurender Год назад

    Really super

  • @bhardwajatul09
    @bhardwajatul09 2 года назад +1

    Awesome

  • @programers
    @programers Год назад

    good job

  • @sireeshasiri373
    @sireeshasiri373 2 года назад

    Amazing video

  • @HoaNguyen-iu7hu
    @HoaNguyen-iu7hu 2 года назад

    Great video. Thanks

  • @vikassharma-by4kw
    @vikassharma-by4kw 2 года назад +1

    Why we can't use is keyword for singleton object??

    • @smartherd
      @smartherd  2 года назад

      That's already a singleton. And using 'is' makes that redundant

  • @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 .

  • @owenlie
    @owenlie 2 года назад

    I still don't get why private keyword is not enough? I still confused

  • @s.m.isratara1056
    @s.m.isratara1056 2 года назад

    Sir please make a video on alarm manger time should be set in code manually
    ...please sir..!!!

  • @MrSojek
    @MrSojek 2 года назад

    Do you have any apps in Google Play store?

  • @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