recycler-view-divider / com.fondesa.recyclerviewdivider / StaggeredDividerBuilder / colorRes

colorRes

fun colorRes(@ColorRes colorRes: Int): StaggeredDividerBuilder

Sets the divider's color. If the color of this divider is not completely opaque (contains some transparency), this builder can't ensure a correct rendering.

Parameters

colorRes - the resource of the color used for each divider.

Return
this StaggeredDividerBuilder instance.