Kotlin Delegation Tutorial with Example

preview_player
Показать описание
Delegation is an object oriented design pattern and Kotlin supports it natively with zero boilerplate code. In this Kotlin Delegation Tutorial we will see what it is and how we can use Kotlin Delegation.

0:00 What is Kotlin Delegation?
0:45 Creating Interfaces
1:30 Kotlin Delegation the Old School Way
2:25 Delegating Responsibility to Other Objects
4:35 Delegation
5:30 Kotlin Native Delegation

If you are having difficulties navigating from one lesson to another, then click on this link and it will open the complete playlist of this Kotlin Object Oriented Programming. In this playlist all lessons are already arranged in chronological order.

All the codes about this Kotlin Android Tutorial for Beginners are organized sequentially in this repository

And if you need more support, then you can join the Simplified Coding’s Quora Space to post your questions.

If you want to get in touch with me; you can find my contact details here:

Finally, If you love my content please SHARE my courses to your friends. You can share this course to your Facebook, WhatsApp etc.

For more contents related to Software Development visit my website.

You can SUPPORT me if you want
👉 PayTM (India Only): +917549161079

You can also check some of my other courses from these links

❤️❤️ Thank You All for the Love and Support ❤️❤️

#KotlinOOP
#OOPsConcept
#LearnKotlin
Рекомендации по теме
Комментарии
Автор

Best explanation by far, no unnecessary jargons and horse-sh*ts. To the point!.

Akashpagol
Автор

Saw a couple of videos on this topic and it still wasn't clear to me how it worked, until I found this video which explained it perfectly. Thanks for making content, keep it up! :)

hablahei
Автор

Very simple, and straight to the point.

tobidaada
Автор

Straight to the point, you have explained things really well. Good Job.

haithambassam
Автор

Very good tutorial, finally understood, thank you so much!

HannesDev
Автор

This is the best explanation of delegates, thank you!

gawahchan
Автор

Thank you for this tutorial. Thanks to you I finally understood how delegates in Kotlin work :)

Rafa-bvbu
Автор

I saw a lot of explanations of Delegates and understand them only after your video.
Thank you!

andrii_gepbl_from_deddom
Автор

Nice explanation, thanks, that's help me a lot.

avisekmal
Автор

Hi, Just a few questions, for this to work, how does it know what functions to call? Do the method names need to match or something? What if the interface has multiple methods?

peshutanpavri
Автор

Thanks. I understood in one go. Thank-you

gobindkumar
Автор

interface can have any number of methods or only one
as if its one then delegation will call but what if there are many whom it will call

rishabhgarg
Автор

please what font are you using on your android studio editor?😁

enikebraimoh
Автор

That was a fantastic explication. Thank you by share your knowledgement.

briansmithchuquirunaleon
Автор

То чувство, когда индус на английском с акцентом, объяснил лучше, чем все эти сраные системные архитекторы вместе взятые с видосами по полчаса. Чел ты лучший!!!! You best of the best of the best!!!!

TheDamiankain
Автор

Thank you very much, awesome video ☺️ 👍

DahabJr
Автор

sir if don't make file variable private what is disadvantage

d-sysdatasolutions
Автор

I love this video this is one of the best KT on "by" delegation. Thank you! Now subscribed as well😅

recipeFor