title: Android viewpager without fragments
body: <p>I want to have a ViewPager and a TabLayout, to display a graph. The TabLayout has tabs for each month, to show the different data in the graph, and when I change the tab, the dataset changes. All the views shown in the viewpager have the same xml layout (containing the graph object), and the changes to the graph have to be done programatically (Adding the dataset to the graph). Using fragments makes no sense, because I'd need 10+ fragments which all use the same layout. How could I implement this efficiently?</p>
  
  <p>If its tricky to understand, I could add some code to show my issue. I'm using <a href="http://www.android-graphview.org/simple-graph/" rel="nofollow noreferrer">GraphView</a> library for the graphs, if it helps.</p>