How to update data item in RecyclerView responded by a ClickListener in another activity
I am trying to make a RecyclerView in which I can delete or edit the individual item. I could find how to implement the delete function, but not the edit.
I have the first activity 'EmergencyCallActivity' which contains the list of items in the form of RecyclerView.
If I click the edit icon of each item, the activity changes into the second one 'AddPhoneBookActivity' where I can write down the NAME and PHONE NUMBER of a person on editText to modify the information of the selected item.