public final void setPreviewShape(@NonNull final PreviewShape previewShape) {
        Condition.INSTANCE.ensureNotNull(previewShape, "The preview shape may not be null");
        this.previewShape = previewShape;

        if (previewLoader != null) {
            previewLoader.setShape(previewShape);
        }

        adaptPreviewView();
    }
public final void setPreviewShape ( @ NonNull final PreviewShape previewShape ) { Condition . INSTANCE . ensureNotNull ( previewShape , "The preview shape may not be null" ) ; this . previewShape = previewShape ; if ( previewLoader != null ) { previewLoader . setShape ( previewShape ) ; } adaptPreviewView ( ) ; }
Sets the shape of the preview of the preference's color.

@param previewShape
The shape, which should be set, as a value of the enum {@link PreviewShape}. The
shape may not be null