I am currently making a app where students can view there lesson grid. The lessons are retrieved using a json file. Now the date changing is done via buttons in the actionba
Create a pageradapter that contains an array of the dates you want to support. You can pass this array in on the constructor.
Override getCount to return the correct number of dates in the array.
Override getItem and return a fragment from it with the date initialised based on the position parameter.