public BaseViewHolder setImageResource(int viewId, @DrawableRes int imageResId) {
        ImageView view = getView(viewId);
        view.setImageResource(imageResId);
        return this;
    }
Will set the image of an ImageView from a resource id.

@param viewId     The view id.
@param imageResId The image resource id.
@return The BaseViewHolder for chaining.
common/src/main/java/com/sxjs/common/base/baseadapter/BaseViewHolder.java