I have three fragments in my application and among them there is need to pass and receive data. How I should perform the communication between them. I tried to refer many websites but no solution came.
Please suggest me some good link.
Thanks in advance.
I hope you have searched enough before posting this question. Many duplicate question are round there. Anyways, you can refer here.
For your ease I should highlight few things:
Two fragments hould not communicate disrectly to each other in any case (most newbie do this mistake)
Any communication should take place via the parent Activity
through an interface.
Rest you will get an idea from the link I mention above. Also, you can have a look on slidenerd videos. They have given a good explanation of it here.
Hope it helps you.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments