January 2018
Intermediate to advanced
434 pages
14h 1m
English
RecyclerView is among the most widely used elements in Android development. It is essentially used to display data in a list using an adapter. In this recipe, we will learn how to leverage great things in Kotlin to make RecyclerView much more efficient. We will also be using DiffUtils. It is available from 24.02. According to the documentation:
The definition is self-explainatory. The notifyDatasetChanged is a very expensive operation of the adapter. The DiffUtils only updates the parts that were changed, unlike notifyDatasetChanged ...
Read now
Unlock full access