public BaseViewHolder setChecked(int viewId, boolean checked) {
        View view = getView(viewId);
        // View unable cast to Checkable
        if (view instanceof CompoundButton) {
            ((CompoundButton) view).setChecked(checked);
        } else if (view instanceof CheckedTextView) {
            ((CheckedTextView) view).setChecked(checked);
        }
        return this;
    }
Sets the checked status of a checkable.

@param viewId  The view id.
@param checked The checked status;
@return The BaseViewHolder for chaining.
common/src/main/java/com/sxjs/common/base/baseadapter/BaseViewHolder.java