January 2018
Intermediate to advanced
434 pages
14h 1m
English
Create a new Android project in Android Studio. You can also clone the https://gitlab.com/aanandshekharroy/kotlin-cookbook repository and check out the 1-recycler-view-in-kotlin branch.
In this app, we will be creating a simple list of different Android flavors released by Google, something like what's seen here:

As you can see, there is a floating action button; clicking it will update the order of the list. We will be updating the list (RecyclerView), but we will update it using DiffUtils instead of the notifyDatasetChanged method.
Read now
Unlock full access