One way I know that is through activity.We can send data from fragment to activity and activity to fragment Is there any other way.
To pass data from one fragment to another Bundle will help.
LifeShapeDetailsFragment fragment = new LifeShapeDetailsFragment(); // object of next fragment
Bundle bundle = new Bundle();
bundle.putInt("position", id);
fragment.setArguments(bundle);
Then push/call next Fragments.
and code to next Fragment:
Bundle bundle = this.getArguments();
int myInt = bundle.getInt("position", 0);