Sending data from nested fragments to parent fragment
The best way is use an interface: Declare an interface in the nest fragment // Container Activity or Fragment must implement this interface public interface OnPlayerSelectionSetListener { public void onPlayerSelectionSet(List<Player> players_ist); } Attach the interface to parent fragment // In the child fragment. public void onAttachToParentFragment(Fragment fragment) { try { mOnPlayerSelectionSetListener = (OnPlayerSelectionSetListener)fragment; } catch … Read more