title: Calling Activity Method From Inside A Fragment
body: <p>I am trying to call a method in an activty from a Fragment screen.</p>
  
  <p>I have a method called myMethod() which is in an activity called MyActivity;
  I have a fragment called Screen1Fragment.</p>
  
  <p>I would like to call MyActivity.myMethod() from inside the Screen1Fragment but I am not sure how to do this.</p>
  
  <p>Previously the Screen1Fragment was an activity and so I was extending MyActivity so that I could directly call
  myMethod().
  But I have had to change the activity to a fragment for sliding tabs usage.</p>
  
  <p>Thanks in advance.</p>