• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Pass data from one fragment to another on the same activity on Recyclerview Item clicked

I am new to Android and Java. This is my first post here.

I am having trouble to pass the one fragment data to another using RecyclerView Adapter. The fragment is set side by side on the same activity.

The LeftFragment has a list of colors using RecyclerView Adopter and wan to pass the color value to the RightFragment on list item click.

I am not getting any idea how to do it. Here is my complete Github Repository.
 
Back
Top Bottom