I have a list objects in a Recyclerview. When long-pressing an item I want to show a dialog with data from the item clicked.
Recyclerview
The Recyclerview
So you can use the context of item for example itemView.getContext() to show AlertDialog
itemView.getContext()
AlertDialog