Sign in Go Pro

Kotlin

Kotlin Android Extensions - Removing findViewById()

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson
Autoplay

Up next

Previous

About

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

Instructor

Links

Comments

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

>
You need to go PRO to post comments.

Lessons in Kotlin