title: How to reset viewpager content on Android?
body: <p>Please tell me how to reset the content of ViewPager on android.
  I tried to call adapter.notifyDataSetChanged() but the adapter doesn't call getItem(position) when I scroll the view. It always returns old child views.</p>
  
  <p>Update: This is my Fragment View. When I reset viewPager data, It used loaded Fragment views. It's just start at the onCreateView instead of Constructor. </p>
  
  <pre><code>public class ResultView extends Fragment {
  //Declare properties
  
       //Constructor 
  public ResultView(Province province, Calendar calendar) {
      Log.d("xskt", "ResultView constructor");
      this.province = province;
      this.calendar = (Calendar) calendar.clone();
  }
  
  @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
      Log.d("xskt", "ResultView onCreateView");
      View view = inflater.inflate(R.layout.resultview, null);
  
      //do some thing
  
      return view;
  }
  </code></pre>
  
  <p>Thanks.</p>