title: How to go move from one activity to a fragment in android?
body: <p>I have this code to move from a Fragment MyTask extends Fragment  to an Activity NewPage extends activity.</p>
  
  <pre><code>Intent i4=new Intent(getActivity(),NewPage.class);
  startActivity(i4);
  </code></pre>
  
  <p>Now I want to go from NewPage.class back to my MyTask fragment. 
  How can  I do that?</p>