In my application there is a recycler view filled with cardViews with the data of a SQL query, the thing is that I look for an interface to select a CardView and then apply actions that I will have in buttons of the Action Bar, I have been looking for it already I could better use the onSelectedItem () interface but I have not found any practical example, where it was used for something similar.
What interface can I use to select cardview, and then apply different actions on them?
(Example of what I'm looking for)