
To store the data of each list item, create a Kotlin data class called Person and add two properties to it: name and phone. Throughout this tutorial, we'll be working with a small list of items, each containing a person's name and phone number. Implementation ':recyclerview-selection:28.0.0' 2. To add the RecyclerView Selection library to your Android Studio project, mention the following implementation dependencies in your app module's adle file: implementation ':recyclerview-v7:28.0.0'

However, there's one important feature missing in it: support for selecting and tracking list items. Ever since it was added to the Android support library in late 2014, it has eclipsed the ListView widget as the most preferred widget for displaying large, complex lists.

The RecyclerView widget is an integral part of most Android applications today.
