code: public static <T extends Parcelable> ParcelablePickerDialogFragment<T> newInstance(
              int pickerId,
              String title,
              String positiveButtonText,
              String negativeButtonText,
              boolean enableMultipleSelection,
              int[] selectedItemIndices,
              ArrayList<T> availableItems) {
  
          ParcelablePickerDialogFragment<T> f = new ParcelablePickerDialogFragment<T>();
          Bundle args = buildCommonArgsBundle(pickerId, title, positiveButtonText, negativeButtonText, enableMultipleSelection, selectedItemIndices);
          args.putParcelableArrayList(ARG_AVAILABLE_ITEMS, availableItems);
          f.setArguments(args);
          return f;
      }
docs: Create a new instance of that picker dialog
  
  @param pickerId                The id of the item picker
  @param title                   The title for the dialog
  @param positiveButtonText      The text of the positive button
  @param negativeButtonText      The text of the negative button
  @param enableMultipleSelection Whether or not to allow selecting multiple items
  @param selectedItemIndices     The positions of the items already selected
  @param availableItems          The collection of items that can be picked
  @return A new instance of the picker dialog