I am working with multiple Fragments under Android and am confused on how to send and receive data from embedded apps.
For a simple explanation, I have a ListFragment and a MapFragment using the method explained here. This means that the List lives in the ListFragment class, however the MapActivity is an Activity that is called under the LocalActivityManagerFragment.
Everything works on the individual Fragments: Lists of waypoints, waypoints and current location implemented on the MapFragment. I also understand how to use getFragmentManager() to get individual Fragments and use their events. However, I cannot use this method to access a function under MapActivity. How can I use a command such as goToLocation (created under MapActivity) if I click on an item on the ListView, if I can't simply use getFragmentManager??