ORHS Interact/app/src/main/java/com/teacupofcode/ved/interactapp/MainActivity.java
public static HomeFrag newInstance(int sectionNumber) {
            HomeFrag fragment = new HomeFrag();
            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.
         */
Returns a new instance of this fragment for the given section
number.
Returns a new instance of this fragment for the given section number .
public static HomeFrag newInstance(int sectionNumber) {
            HomeFrag fragment = new HomeFrag();
            Bundle args = new Bundle();
            args.putInt(ARG_SECTION_NUMBER, sectionNumber);
            fragment.setArguments(args);
            return fragment;
        }
public static HomeFrag newInstance ( int sectionNumber ) { HomeFrag fragment = new HomeFrag ( ) ; 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.
Returns a new instance of this fragment for the given section number .