code: public final <VH extends RecyclerView.ViewHolder> BuilderType setAdapter(
              @Nullable final RecyclerView.Adapter<VH> adapter,
              @Nullable final RecyclerView.LayoutManager layoutManager,
              @Nullable final DialogInterface.OnClickListener listener) {
          getProduct().setAdapter(adapter, layoutManager, listener);
          return self();
      }
docs: Sets the adapter, which provides the items, which should be shown by the dialog, which is
  created by the builder.
  <p>
  Note, that the adapter and the attached listener are not stored using a dialog's
  <code>onSaveInstanceState</code>-method, because they are not serializable. Therefore this
  method must be called again after configuration changes, e.g when the orientation of the
  device has changed, in order to re-set the adapter and re-register the listener.
  
  @param adapter
  The adapter, which should be set, as an instance of the type {@link ListAdapter}. The
  adapter may not be null
  @param listener
  The listener, which should be notified, when an item is clicked, as an instance of
  the type {@link DialogInterface.OnClickListener} or null, if no listener should be
  notified
  @return The builder, the method has been called upon, as an instance of the generic type
  BuilderType