setPadding

public BaseViewHolder setPadding(int viewId, int left, int top, int right, int bottom)

Sets the padding of the view.

Return

BaseViewHolder for chaining calls.

Parameters

viewId

The ID of the view.

left

The left padding.

top

The top padding.

right

The right padding.

bottom

The bottom padding.