How to implement view pager in a screen with four fragments?

view story

http://stackoverflow.com – The app for tablet for each screen into four parts(four fragment). I have added four fragment to fragments transaction in a single layout. Now I have to implement view pager in that. How can I achieve that. Using that view pager library I have to pass the fragment manager and fragmentlist as argument. In my scenario How can I pass every 4 argument in a single time? My Main Activity was: > public void onCreate(Bundle savedInstanceState) { > super.onCreate(savedInstanceState); > setContentView(R.layout.activity_main); NewsFragment[] > newsFragment_obj = new New (HowTos)