get Drawable Resource

fun getDrawableResource(@DrawableRes id: Int): Drawable?

Method to get drawable from resource

Return

desired drawable

Parameters

id

Drawable Id

Sources

Link copied to clipboard