projects/syncslides/app/src/main/java/io/v/android/apps/syncslides/DeckChooserFragment.java
/**
     * 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 DeckChooserFragment newInstance(int sectionNumber) {
        DeckChooserFragment fragment = new DeckChooserFragment();
        Bundle args = new Bundle();
        args.putInt(ARG_SECTION_NUMBER, sectionNumber);
        fragment.setArguments(args);
        return fragment;
    }
public static DeckChooserFragment newInstance ( int sectionNumber ) { DeckChooserFragment fragment = new DeckChooserFragment ( ) ; 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 .