setHoldVisible

public BaseViewHolder setHoldVisible(int viewId, boolean visible)

Sets the visibility of the view to VISIBLE (true) or INVISIBLE (false).

Return

BaseViewHolder for chaining calls.

Parameters

viewId

The ID of the view.

visible

When true, the view is visible; when false, the view is invisible.