title: How to get the fragment that spawned a View?
body: <p>LayoutInflater is a a really powerful tool that does really cool things; such as inflate a Fragment from a layout resource and properly handle its life-cycle. For example:</p>
  
  <pre><code>&lt;fragment class="com.test.TestFrag".../&gt;
  </code></pre>
  
  <p>when taking the above layout and running it through the LayoutInflater, you will get the view that is spawned by Fragment. You can then add this view to any ViewGroup and have an instance of a fragment running around that still follows the Fragment life-cycle. My question is, how do you get the parent Fragment from this created view?</p>