title: getChildFragmentManager > beginTransaction > replace > commit: no result
body: <p>I have main activity with only ViewPager on it. The first tab page fragment contains:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/llEventsTabPage"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical" &gt;
  &lt;ListView
      android:id="@+id/lvEvents"
      android:layout_width="match_parent"
      android:layout_height="match_parent" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I want to show details fragment when user taps item in ListView:</p>
  
  <pre><code>lvEvents.setAdapter(adapter);
  lvEvents.setOnItemClickListener(
              new OnItemClickListener() {
  
                  @Override
                  public void onItemClick(AdapterView&lt;?&gt; adapter, View view, int position, long id) {                     
                      Fragment eventFragment = new EventFragment();
                      FragmentTransaction fragmentTransaction = getChildFragmentManager().beginTransaction();
  
                      fragmentTransaction.addToBackStack(null);
                      fragmentTransaction.replace(R.id.llEventsTabPage, eventFragment);
                      fragmentTransaction.commit();
                  }
              }
          );
  </code></pre>
  
  <p>Code 'fragmentTransaction.commit();' is called, onCreateView of EventFragment is called, but after 'fragmentTransaction.commit();' nothing happens. No errors, no result. Just list view is still displaying and working.</p>
  
  <p>What am I doing wrong? I've found a few examples, my code looks the same, but not working and I can do nothing with that.</p>
  
  <p>Thank you!</p>