send data to one fragment to other fragment in viewpager

39 Views Asked by At

I am using 3 fragment in viewpager and try to communicate between all fragments(send data)

I am using 3 fragment in viewpager and try to communicate between all fragments(send data)

1

There are 1 best solutions below

0
On

There are a number of different ways to share data between fragments, I like using a shared view model, the different ways are outlined in https://androidwave.com/passing-data-between-fragments/