Sign in Go Pro


Kotlin Android Extensions - Removing findViewById()

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson

Up next


Course Retired

The Introduction to Kotlin course has been retired and replaced with the very comprehensive Kotlin Programming Language course.


Every Android Developer is well aware about findViewById() which is the most common operation and it's like writing boring boilerplate code every time.

Kotlin Android Extension is a plugin for the Kotlin compiler which saves us from writing boring boilerplate code with findViewById() in Activities, Fragments without adding any extra code or run-time overhead by recovering the views from the layout using the view ID which is defined in the XML.

Lastly it helps to say goodbye to findViewById()

In this lesson you will learn:

  • What is Kotlin Android Extension?
  • How to add it to your project
  • How to use it
  • Look at it's internal implementation




There are no comments on this lesson, start the conversation below ...

You need to go PRO to post comments.

Lessons in Kotlin