[Part 18] Android Development with Kotlin || Implement long press to select item in RecyclerView



[Part 18] Android Development with Kotlin || Implement long press to select item in RecyclerView

[Part 18] Android Development with Kotlin || Implement long press to select item in RecyclerView

In this post, we will learn how to implement long press to select an item 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/recyclerview-kotlin

Checkout this tag : tut-single-tag

#android #kotlin #androidstudio #androiddev

Comments are closed.