app/src/main/java/org/taitasciore/android/paymettest/details/DetailsFragment.java
public static DetailsFragment newInstance(int comicId) {
        DetailsFragment f = new DetailsFragment();
        Bundle args = new Bundle();
        args.putInt("comic_id", comicId);
        f.setArguments(args);
        return f;
    }
/**
     * We extract the comic ID sent by DetailsActivity through a Bundle
     * @param comicId Comic ID
     * @return DetailsFragment instance with arguments
     */
We extract the comic ID sent by DetailsActivity through a Bundle
@param comicId Comic ID
@return DetailsFragment instance with arguments
We extract the comic ID sent by DetailsActivity through a Bundle @param comicId Comic ID @return DetailsFragment instance with arguments
public static DetailsFragment newInstance(int comicId) {
        DetailsFragment f = new DetailsFragment();
        Bundle args = new Bundle();
        args.putInt("comic_id", comicId);
        f.setArguments(args);
        return f;
    }
public static DetailsFragment newInstance ( int comicId ) { DetailsFragment f = new DetailsFragment ( ) ; Bundle args = new Bundle ( ) ; args . putInt ( "comic_id" , comicId ) ; f . setArguments ( args ) ; return f ; }
We extract the comic ID sent by DetailsActivity through a Bundle
 @param comicId Comic ID
 @return DetailsFragment instance with arguments
We extract the comic ID sent by DetailsActivity through a Bundle @param comicId Comic ID @return DetailsFragment instance with arguments