projects/syncslides/app/src/main/java/io/v/android/apps/syncslides/SlideListFragment.java
/**
     * Returns a new instance of this fragment for the given deck.
     */
Returns a new instance of this fragment for the given deck.
Returns a new instance of this fragment for the given deck .
public static SlideListFragment newInstance(String deckId, Role role) {
        SlideListFragment fragment = new SlideListFragment();
        Bundle args = new Bundle();
        args.putString(DECK_ID_KEY, deckId);
        args.putSerializable(ROLE_KEY, role);
        fragment.setArguments(args);
        return fragment;
    }
public static SlideListFragment newInstance ( String deckId , Role role ) { SlideListFragment fragment = new SlideListFragment ( ) ; Bundle args = new Bundle ( ) ; args . putString ( DECK_ID_KEY , deckId ) ; args . putSerializable ( ROLE_KEY , role ) ; fragment . setArguments ( args ) ; return fragment ; }
Returns a new instance of this fragment for the given deck.
Returns a new instance of this fragment for the given deck .