package com.steve.creact.library.display;

import android.view.ViewGroup;

import com.steve.creact.library.viewholder.BaseRecyclerViewHolder;


/**
 * Use for ViewHolders without data or just have static data.
 */
public class CommonDisplayBean extends BaseDisplayBean<BaseRecyclerViewHolder> {
    private int layoutId;

    public CommonDisplayBean(int layoutId) {
        this.layoutId = layoutId;
    }

    @Override
    public BaseRecyclerViewHolder createHolder(ViewGroup parent) {
        return new BaseRecyclerViewHolder(getView(parent, layoutId));
    }
}

@@ -550,16 +550,140 @@
 youtId))
+%7B%0A%0A            @Override%0A            public void setData(Object data) %7B%0A                //do nothing%0A            %7D%0A        %7D
 ;%0A    %7D%0A

update CommonDisplayBean