Example :
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<fragment
android:id="@+id/myFragment"
android:tag="myFragmentTag"
android:name="mypackage.MyFragment_"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
@EActivity(R.layout.main)
public class MyActivity extends Activity {
// all injected fragment will be the same
@FragmentByTag
public MyFragment myFragmentTag;
@FragmentByTag("myFragmentTag")
public MyFragment myFragmentTag2;
}