For example, I have a list of items in RecyclerView:
Элемент1 (id1 Title1 Date1) Элемент2 (id2 Title2 Date2) Элемент3 (id3 Title3 Date3) It is necessary to open a fragment by clicking on a separate element, to which the corresponding values are transmitted. Suppose you clicked on Элемент2 , a fragment opens and the values of Title2 and Date2 , so that I use them, and so on.
Reading many resources, I don’t understand how to do it all according to science, for in various sources, who as the listener hangs, but I still don’t understand how to organize what I need. I would be grateful for the help! :)