setBackgroundDrawable

public BaseViewHolder setBackgroundDrawable(int viewId, Drawable drawable)

Sets the background of the view.

Return

BaseViewHolder for chaining calls.

Parameters

viewId

The ID of the view.

drawable

The drawable to be used as the background.