public static PlaceholderFragment newInstance(int sectionNumber){
  PlaceholderFragment fragment=new PlaceholderFragment();
  Bundle args=new Bundle();
  args.putInt(ARG_SECTION_NUMBER,sectionNumber);
  fragment.setArguments(args);
  return fragment;
}

public static PlaceholderFragment newInstance ( int sectionNumber ) { PlaceholderFragment fragment = new PlaceholderFragment ( ) ; Bundle args = new Bundle ( ) ; args . putInt ( ARG_SECTION_NUMBER , sectionNumber ) ; fragment . setArguments ( args ) ; return fragment ; }
returns a new instance of this fragment for the given section number .
