title: How to open multiple instances of the same fragment but with different data, one after the other?
body: <p>I made several api calls from a model class of an <code>Activity</code> and upon receiving responses from each of them, I need to feed the data to a <code>Fragment</code> one after the other by invoking multiple instances of the same fragment.</p>
  
  <p>Ideally, the next fragment will only be fed with data after the previous <code>Fragment</code> has exited (by response from a listener).</p>
  
  <p>I have looked everywhere and couldn't find a solution to this problem. I have tried using AsyncTask with a CountDownLatch to block the next api response before getting an action response from the initial <code>Fragment</code> but after it only invoked one <code>Fragment</code> (I know how many fragments I should be creating) and back to normal <code>Activity</code> view.</p>
  
  <p>Any thoughts on how to deal with this problem?</p>