createDrawableRenderUnit

fun createDrawableRenderUnit(node: LithoNode, drawable: Drawable, width: Int, height: Int, outputType: Int, diffNode: DiffNode? = null): LithoRenderUnit

Common method to create the LithoRenderUnit for backgrounds, foregrounds, and border. The method uses the {@param outputType} to decide between the options. This method will call the shouldUpdate, and SpecGeneratedComponent.onBoundsDefined for the DrawableComponent.