title: How to call methods in 1st class to 2nd class with passing values
body: <p>I have MainActivity and SecondActivity. in main activity implemented a viewpager and in my SecondActivity i have button. when i click on button in SecondActivity 
   move to main activity and jump to spacific viewpager page.
  Please provide suitable examples. </p>