setBackgroundRes

public BaseViewHolder setBackgroundRes(int viewId, int backgroundRes)

Sets the background of the view.

Return

BaseViewHolder for chaining calls.

Parameters

viewId

The ID of the view.

backgroundRes

The resource used as the background.