Delegating delegates - Kotlin Vocabulary

Поделиться
HTML-код
  • Опубликовано: 5 фев 2025
  • Delegation is a design pattern in which an object handles a request by delegating to an object called delegate. The delegate is responsible for handling the request on behalf of the original object. Watch now to see more from Murat’s tutorial on delegating delegates in this episode of Kotlin Vocabulary and stay tuned for the next session!
    Blog post → goo.gle/34Lhvvz
    Watch more Kotlin Vocabulary→ goo.gle/2wHr94N
    Subscribe to Android Developers → goo.gle/Androi...
    #Kotlin #KotlinVocabulary #AndroidDevelopers

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

  • @aldiirsanmajid4235
    @aldiirsanmajid4235 2 месяца назад +1

    thank you so much, I finally understand what a delegate is, especially in kotlin.

  • @puhgeh
    @puhgeh 4 года назад +29

    i'm having a hard time reading the code even with glasses. could you please zoom in whenever you are discussing a certain part of the code next time? too much wasted space showing the whole IDE...

    • @yenerm
      @yenerm 4 года назад +7

      Ahh sorry for that! You can check out the code here medium.com/androiddevelopers/delegating-delegates-to-kotlin-ee0a0b21c52b

  • @stanislavkorolev376
    @stanislavkorolev376 4 года назад +11

    where are subtitles?

  • @cnankh9087
    @cnankh9087 2 года назад +6

    still not get it , complicated a lil bit but I'll keep struggling with this topic to master it

    • @Nima-wh1ou
      @Nima-wh1ou Год назад

      have you understood it after a year?

  • @BayYolal
    @BayYolal 4 года назад +7

    I'm watching for Murat Yener 😇👍

  • @ilgarmm
    @ilgarmm 3 года назад +6

    There is a mistake in Person class. "name" is not a type parameter.

  • @Ree-rr1js
    @Ree-rr1js 2 года назад +5

    I'm having a hard time understanding this topic because the course I enrolled in is full of word salad

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

    doesn't work if we use like val person = Person(name = "krishna", lastName = "sharma") then use print(person.name) only works if we call setter using object. Also doesn't work with data classes

  • @UmangMathur92
    @UmangMathur92 2 года назад +2

    Poor explanation. Too much of jargon being used with unclear examples.
    What is set(value) ? - It should be explained that it is a way to create a custom accessor in Kotlin. Prerequisites need to be mentioned.

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

    subtitles + 1

  • @jamesomina4119
    @jamesomina4119 4 года назад

    I Like this

  • @duduskateboarddudu
    @duduskateboarddudu 4 года назад +1

    Delegate

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

    I've been up to late, so I'm shutting down.

  • @dewisartikaanggraeni3953
    @dewisartikaanggraeni3953 4 года назад +1

    Yeah i know you on joing with me we on from cnnl grup on all ne safe because fail me on old hv to people me on

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

    Is still very confusing

    • @AndroidDevelopers
      @AndroidDevelopers  2 года назад +2

      Hi Soma, please check out the corresponding blog post here for more help and information goo.gle/34Lhvvz

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

      @@AndroidDevelopers Okay ‐ thanks!

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

    Not a good explanation.

  • @sherihayden2383
    @sherihayden2383 4 года назад +1

    PLEASE STOP SENDING ME ALL THESE VIDEOS I AM NOT SUBSCRIBED TOO

    • @ringoaikocascade
      @ringoaikocascade 3 года назад

      You know, it's funny, I always feel like that but I liked this video and I'm like "you can just ignore it if you don't like it". Such a hypocrite.