In this post, we will learn how to implement long press to select multiple items in a RecyclerView in Android using Kotlin. User can long-press on any item of the RecyclerView to make a selection of it and click it again to deselect it.
The selected item can be deleted from the RecyclerView.
This project is on Github. You can download it from here : https://github.com/nkaushikd/recycler...
Checkout this tag : tut-multi-select
#android #kotlin #androidstudio #androiddev