title: What is the difference creating event callback or the activity itself within a fragment?
body: <p>Lets say I will be using several fragments(<code>Action1Fragment</code>, <code>Action2Fragment</code> etc.) within an activity(<code>ActionActivity</code>). I want to access some elements of activity object, or call some methods of <code>ActionActivity</code>. It is generally offered to <a href="http://developer.android.com/guide/components/fragments.html#EventCallbacks" rel="nofollow">create a event callback</a> . What if I keep a reference to <code>ActionActivity</code> within <code>Action1Fragment</code> instead of keeping a reference to <code>CallBackInterface</code> which is actually implemented by <code>ActionActivity</code> since I will be using these fragments only within a particular activity.</p>
  
  <p>I am kinda confused by the idea that Activity might be dead while reference of interface might still be alive(it sounds ridiculous when I read it again but it is OK if I managed to explain myself).</p>