title: Android : OnViewCreated called but fragment not visible
body: <p>So,it is me again, further working  on my dynamic ui and it seems as if I have almost reached a point, where the success-effect should come. But now my steps are smaller I move slowly towarda a milestone.</p>
  
  <p>We are still talking about a completely dynamicaly created ui based on fragmentManager and fragments, which for themselves are populated with some subelements like textviews, buttons, table columns ,whatever.</p>
  
  <p>According to my oo design, I have a controller class, which is the one and only instance member of my fragment activity.</p>
  
  <p>The constructor of <strong>controller gets activity reference of fragment activity passed as argument</strong> , in order to create <strong>FragmentManager and hold it globally.</strong></p>
  
  <p>The controller instantiates an object of a custom class, which is derived from fragment.</p>
  
  <p>The overloaded constructor is called correctly, calling base ctor and doing some other stuff.</p>
  
  <p>Then I add the object into the fragment manager which was created in the ctor of the controller with the help of the passed activity by beginning a transaction and committing it.</p>
  
  <p>The controller is left, the flow returns to mainactivity, where I issue setcontentview at the end.</p>
  
  <p>However, the onCreateView is executed, oViewCreated gets executed, where I define an layout of my and a backcolor and one testbutton. Then I place all stuf nicely onto the ui.
  As tested with a fragment derivate in the controller class, this worked.
  But now, in the more or less real situation I do not see the fragment.
  After committing in cotroller I also issue detach and attach again to force redrawing.</p>
  
  <p>I suppose, somewhere I will have to pass atomic references. Could this be possible ?</p>
  
  <p>THX in advance.</p>
  
  <p>Edit: Solved.</p>
  
  <p>Delete this?</p>