Update recyclerview adapter onResume from Different Activity
<p>So I have a fragment with recyclerview in it which is a direct child of my first Activity. In my recyclerview rows I have imagebutton. So for my second activity I have a feature where it can change the image of the imagebutton from my first activity's recyclerview. Can somebody help me?</p>

<p>Update:
My application has an addtocard feature. So in the first activity there's individual imagebutton for every row of my recyclerview. When i tap the imagebutton, the image will change and it will be added to the cart. I also have a database for the cart so the ID's of the product get inserted when it is added. If i tap the recyclerview row it will call the second activity and will display the product. So in the second Activity I also have the add to card feature. The problem is when I add the product in the cart inside the second activity i want to update the recyclerview in my first activity to indicate that it was already added. </p>