title: How can I get Fragment from View?
body: <p>I added some <code>Fragment</code> into a <code>TableLayout</code> and I want to manage them from my container <code>Activity</code>, so I used this:</p>
  
  <pre><code>Fragment fragment = (Fragment) tableLayout.getChildAt(i);
  </code></pre>
  
  <p>but <code>getChildAt(int)</code> returns a <code>View</code> and a <code>View</code> could NOT cast to <code>Fragment</code></p>