title: how to save multiple inflated layouts view state in android fragment?
body: <p>I am developing a tour booking app. In my tour booking page I have two types of forms, one for lead traveller and one for other travellers(That could be an adult or a child).<br>
  <strong>Lead Traveller fields are:</strong><br>
  Title<br>
  First Name<br>
  Last Name<br>
  Gender<br>
  Date of Birth<br>
  Email<br>
  Contact number<br>
  Nationality  </p>
  
  <p><strong>Other Traveller fields are:</strong><br>
  Title<br>
  First name<br>
  Last name<br>
  Gender<br>
  Date of Birth </p>
  
  <p>For handling this scenario I created the lead traveller form in my main layout and put the other traveller forms in separate layout because I have to show other traveller form multiple times. On first attempt user gets only lead traveller form. There is button to add more travellers, when user clicks on that he'll get the other traveller form. For showing other traveller form I inflated the otherform.xml file. I am using fragments <strong>not Activity</strong> for this purpose. </p>
  
  <p>My problem is after submitting and moving to next booking step(Moving to next fragment). If I comeback to change some traveller info. My all inflated layouts(other traveller forms) gone. And my last other traveller form fields data transfers into my lead travellers form fields(only first five fields data changed and remaining three fields data is same that I filled previously).  </p>
  
  <p>Is there any way to keep save these inflated layouts on comeback.  </p>
  
  <p>Any help would be really appreciated. Thanks in advance </p>