Skip to content Skip to sidebar Skip to footer

Getting Data To My Fragment From My Activity

I finally figured out after some research how to get my dialogfragment to send the results to my activity, now I want to pass those results to the fragment that really is the one c

Solution 1:

<fragment> is not a container, it can not have any children. What you should do is have your Fragment class set its content view to what you have here as the children of the <fragment> tag. The contents you have here of <fragment> should live in its own XML file.


Post a Comment for "Getting Data To My Fragment From My Activity"