title: Fragment does not inflate upon item click in RecyclerView
body: <p>So I am building a standard Android Application with Kotlin. My app implements a TabLayout with one tab holding a RecyclerView List. </p>
  
  <p>Now, this seems simple and I am not sure why it is not working. When I click on one of the items in my list, the listener is responsive (as I have made a few Log test), but the fragment associated to the item does not inflate!</p>
  
  <p>In the OnCreateView() of my Fragment list where I implement my RecyclerView, I instruct the listener in this way:</p>
  
  <pre><code>    //Give action to item click in adapter
      adapter.onItemClick = { 
  
          //Setup new fragment Item
          val newFragment = ItemFragment()
  
          // parentFragmentManager is the same as activity?.supportFragmentManager
          parentFragmentManager.beginTransaction()
              .replace(R.id.list_fragment_id, newFragment)
              .addToBackStack(null) //Makes it possible to comeback to recyclerview
              .commit()
      }
  </code></pre>
  
  <p>I am thinking my mistake lies somewhere around the ID of the current container as the application is setup in TabLayout. I have tried to use the ID of my view pager or even the RecyclerView, but nothing seems to be successful.</p>
  
  <p>Any help would be extremely helpful!</p>