0

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)

Anuj Vaish
  • 229
  • 1
  • 3
  • 14

1 Answers1

0

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/

Andrew
  • 3,791
  • 2
  • 10
  • 19