Instruction

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

What Are Kotlin Extension Functions?

Extension functions are a simple yet powerful concept. They add functionality to a class without modifying its source code or inheriting from it.

What Are Kotlin Extension Properties?

Kotlin extension properties help you add new features to an existing class without making complicated changes to its structure, making your code more flexible and easier to understand.

Binding Data

RecyclerViews in Android can be a bit repetitive and cluttered in terms of code. Sometimes, you can encapsulate that repetitiveness in an extension function. Encapsulating the logic of one of these functions will make your adapters cleaner and more concise.

See forum comments
Download course materials from Github
Previous: Introduction Next: Demo