recycler-view-divider / com.fondesa.recyclerviewdivider / RecyclerViewDivider / Builder / drawable

drawable

fun drawable(drawable: Drawable): RecyclerViewDivider.Builder

Set the drawable of all dividers. To set a custom drawable for each divider use drawableManager instead. Warning: if the span count is major than one and the drawable can't be mirrored, the drawable will not be shown correctly.

Parameters

drawable - drawable custom drawable for this divider.

Return
this Builder instance.