This is simple example of the Inter-fragmnet Communication pattern in Android.
Feel free to use it.

In this example , I made a listview content change depending upon your orientation.