Kotlin Extension Functions in Android!

Опубликовано: 09 Октябрь 2024
на канале: Charfaoui Younes
402
31

📩 Sign up for my new newsletter here 👉 https://bit.ly/YCNewsletter102

Join my Community on Discord:
  / discord  

In this video, I demonstrate how to utilize Kotlin extension functions to increase readability and structure in your code, and as the official documentation states, "Kotlin provides the ability to extend a class with new functionality without having to inherit from the class or use design patterns such as Decorator", That way we can extend a class with customized features and behaviors that we need in our domain and business logic.

🔗 Links Mentioned in the Video :
Kotlin Extension Functions Documentation - https://kotlinlang.org/docs/extension...
Kotlin Extension Functions For Android- https://gist.github.com/Younes-Charfa...
KAHelpers by FunkyMuse - https://github.com/FunkyMuse/KAHelpers

⏰ Chapters:
0:00 - Intro
1:45 - First Extension Function
6:20 - Useful Android Extension Function
14:05 - General Extension Function by Funky Muse


👨🏽‍🏭 Who I am:
I'm Younes Charfaoui, a Junior Software Engineer and an Android Developer. I make videos about Android development, Technology, and Productivity for software engineers.

😋 Be My Friend:
💻 GitHub - https://github.com/Younes-Charfaoui/
🐦 Twitter -   / charfaouiyounes  
📑 Medium -   / mxcsyounes  
📷 Instagram -   / charfaoui.younes  
🌍 My website - https://www.charfaouiyounes.com