// Fragment transaction fragmentManager.beginTransaction() .add(R.id.head_container,headFragment) .commit(); **_Error- cannot relosve method 'add(int,com.example.android.android_me_ui.BodyPartFragment)'_**
// Fragment transaction
fragmentManager.beginTransaction()
.add(R.id.head_container,headFragment)
.commit();
Error- cannot relosve method 'add(int,com.example.android.android_me_ui.BodyPartFragment)'