code: public static ImageGalleryFragment newInstance(Bundle extras) {
          ImageGalleryFragment fragment = new ImageGalleryFragment();
          fragment.setArguments(extras);
          return fragment;
      }
docs: region Factory Methods