I have a RecyclerView list, and an items passes to it's adapter. Now when I click a row in this list, it will show the details of the pressed item.
Let's say I need to toggle the selected item as liked or disliked, as each item in the dataset will have isLiked property with either true or false value.
Now if I changed the isLiked value from false to true, I need to reflect the same change to the recyclerview in the parent - or the previous activity in the stack.
User will click 'back' from device and back to the list. But the changes made in the details activity is not reflecting on the previous list.
I was thinking of using Redux for state management, but not sure what is the ideal solution for this issue.
Any idea please?