title: How to create endless fragments to work with dates?
body: <p>I have seen other similar questions but cannot seem to get my head around a few things:</p>
  
  <p>Here is what I am trying to achieve</p>
  
  <p><a href="https://i.stack.imgur.com/rQTnF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rQTnF.png" alt="enter image description here"></a></p>
  
  <p><strong>So when the back arrow is pressed I would like the ViewPager to go back from 0 to -1 etc.</strong></p>
  
  <p>Would creating unlimited fragments affect performance of the app , or would just adding 3 fragments be better.</p>
  
  <p>Finally if it would be better to use only 3 fragemnts, how would I go about in fetching new data depending on the date it is currently on.</p>