ProAndroidDev

The latest posts from Android Professionals and Google Developer Experts.

Follow publication

Recycler View Internals — I: Birth Of ViewHolder

Chetan Gupta
ProAndroidDev
Published in
6 min readAug 2, 2021

Can you Implement your own RecyclerView from scratch? You will never say no again.

Don’t miss out on the course on Generative AI using Kotlin, Jetpack Compose, Langchain4j, and Ollama. You will learn hands-on by building 6 AI apps. Join now for lifetime access, but hurry — prices increase after July 1st!

officially published on :

‌featured on :

We all have been working with RecyclerViews for way long and are very familiar using its API to display our list efficiently, but many have just touched its surface on a very high level, few of us have dug deep into it and tried to figure how internally it works. I’m one of the same, I have a generalised idea of what might be happening but I never looked at its implementation from Android open source project (AOSP) but before I do that I wanted to figure out how others in the community have explored it.

After some poking around I was told by many developers to follow a talk on RecyclerViews ins and outs — Google I/O 2016 for getting an idea of what RecyclerViews are doing under the hood. If you haven’t seen it yet, I would highly recommend you to watch this video, in-fact bookmark it you will be visiting it a lot in your android career.

‌It actually does a pretty nice job explaining various components of RecyclerView and those diagrams are ❤️ . But that is also the problem with the video, even though there are so many details in the video but everything is just in…

Published in ProAndroidDev

The latest posts from Android Professionals and Google Developer Experts.

Written by Chetan Gupta

Android & Kotlin Expert | Training & Technical writing for Bussiness contact https://t.me/ch810

Responses (3)

Write a response