Im creating an ecommerce app in which i have added variations of colors when user click on add to cart i show a bottomshet where images of all colors are displayed in a list in recyclerview when user click on any image i want to store that value in string and add that in cart images are from recyclerview but rest of all the details of product are from product details activity i dont know ho to i manage this bcz click listener for recyclerview can be implemented from recyclerview adapter but that adapter doesn't have rest of the details of the product