title: How to put an activity into a fragment?
body: <p>I have a ViewPager with 3 pages. In each page, I would like to insert a listview which is populated in seperate classes. Now, I found the simplest method is by inflate layouts which has a fragment in it. Lets say I have 3 pages.
  In page 1 I inflate a layout with fragment1, in page 2 I inflate a layout with fragment2, and in page 3 I inflate a layout with fragment3. How do I assign activities as the fragments contents? I have been searching through the internet for tutorials but none really fits my needs. Or are there any better way to achieve my goal?</p>
  
  <p>Illustration:
  <img src="https://i.stack.imgur.com/5kyGi.png" alt="enter image description here"></p>
  
  <p>Activity 1 2 and 3 are all ListViews. The inflate custom layouts as their itemslayout.</p>