-2

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

monzer ax
  • 13
  • 6
  • Please specify on which event you want to send the data to another fragment. – Saila Lopa Sep 01 '17 at 07:29
  • 1
    Possible duplicate of [Pass data from one design tab to another tab](https://stackoverflow.com/questions/37943474/pass-data-from-one-design-tab-to-another-tab) – chirag90 Sep 01 '17 at 07:32

1 Answers1

1

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

TaRan LaYal
  • 148
  • 1
  • 9
  • I do not want pass data to textview Iwant to listview – monzer ax Sep 05 '17 at 13:01
  • Hello friend You seem to have experience in Android programming, I have a problem and I want you to solve this problem. I have already posted my problem in stackoverflow but I can not find the right solution. Can you help me? – monzer ax Oct 28 '17 at 06:18