public GenericDraweeHierarchyBuilder setPlaceholderImage(
      int resourceId, @Nullable ScalingUtils.ScaleType placeholderImageScaleType) {
    mPlaceholderImage = mResources.getDrawable(resourceId);
    mPlaceholderImageScaleType = placeholderImageScaleType;
    return this;
  }
Sets the placeholder image and its scale type.

@param resourceId an identifier of an Android drawable or color resource
@param placeholderImageScaleType scale type for the placeholder image
@return modified instance of this builder
drawee/src/main/java/com/facebook/drawee/generic/GenericDraweeHierarchyBuilder.java