Send Data Between two Tab - android

803 views Asked by At

I have create Tabbed activity with two tab fragment a Contain edittext and fragment b Contain listview ,and I want to send data from fragment a to fragment b ,Please add the code in full, please help me. Note : I do not want pass data to textview Iwant to listview

1

There are 1 answers

2
TaRan LaYal On

All Fragment-to-Fragment communication is done through the associated Activity. Two Fragments should never communicate directly. Follow this link