Multiple fragments and Activities Interaction design
===

Good day,  I have 3 activities with their corresponding fragment A, B and c. fragment A is a static fragment others are dynamic. 

1. Activity A is already implementing a listener for fragment A, which is used to load fragment B in landscape orientation or move to new screen in single pane.

what i want is when a certain button is pressed in fragment B which calls up fragment C, i want it to be replaced by fragment C in landscape orientation(fragment A will still be present) or bring up a new screen in single pane mode. 

i have this simple code in Activity B onCreate:

	if (getResources().getConfiguration().orientation == 
				Configuration.ORIENTATION_LANDSCAPE) {
			finish();
			return;
		}

I am trying to avoid fragment to fragment communication since it is frowned at..so does that mean i implement listener for fragment B in both Activity A and B, am guessing that when in Landscape Orientation Activity A would load up Fragment C and in portrait, B takes over or is there a better way?.. I thought of only implementing the listener in Activity B and passing to Activity A when in Landscape Orientation but i think it would have been finished before it even got to pass due to the above code. Any thoughts? Many Thanks
