public fun drawableResToImageResource(@DrawableRes id: Int): ImageResource = ImageResource.Builder() .setAndroidResourceByResId( AndroidImageResourceByResId.Builder() .setResourceId(id) .build() ) .build()
Load a resource from the res/drawable* directories.