I have my activity_main.xml here :
I use adapter and recycler view to display each item. And this is my activity_list_item.xml:
I want to change/update my note so i need to add setOnClickListener method but i don't know which element that should be clicked. I tried to use setOnClickListener on recycler view but it did not work
in your adapter class you can put viewholder class that implement onClickListener
then put your code you want on function onClick