Learn how to improve the API provided by third-party libraries by combining Kotlin extension functions and delegation.
A Close Look at Kotlin’s Delegation
Kotlin offers many exciting features. In general, developers tend to cite null safety as their favorite. For me, it’s function extensions. But delegation comes a close second.