The Diffing Dilemma! All about diffing, from RecyclerView to LazyLists — An Introduction
<p>This is an introductory article to the multipart series on “All about diffing, from RecyclerView to LazyLists”. You can find the next part <a href="https://medium.com/@ragdroid/the-diffing-dilemma-all-about-diffing-with-lazylists-288847307b8a" rel="noopener">here</a>.</p>
<p>Sometime around the end of the year in 2020, I started exploring Jetpack Compose since we wanted to introduce it to our codebase. The thing that I was most curious about was how it works with MVI. I explored it and as it turns out, Jetpack Compose was the missing piece to the MVI puzzle, i.e. Compose is just the right tool that was missing to implement proper diffing in views. More about it in this <a href="https://medium.com/google-developer-experts/jetpack-compose-missing-piece-to-the-mvi-puzzle-44c0e60b571" rel="noopener">article</a>. Little did I know that there was more to this puzzle than just simple views. Well, all good with views and diffing, but, what about lists and grids? Does Jetpack Compose work well when our UI state contains a list of items? <code>RecyclerView</code>, being such a mature tool is so powerful that anybody would think twice before migrating from their stable (pun-intended) implementations to the lazy lists of Jetpack Compose.</p>
<p><a href="https://medium.com/google-developer-experts/the-diffing-dilemma-all-about-diffing-from-recyclerview-to-lazylists-an-introduction-f1a22d6eeb5a"><strong>Read More</strong></a></p>