@@ -0,0 +1,693 @@
+package cn.droidlover.xdroid.base;%0A%0Aimport android.databinding.DataBindingUtil;%0Aimport android.databinding.ViewDataBinding;%0Aimport android.support.v7.widget.RecyclerView;%0Aimport android.view.View;%0A%0A/**%0A * Created by shihao on 2017/3/7.%0A */%0A%0Apublic class SimpleRecBindingViewHolder%3CT extends ViewDataBinding%3E extends RecyclerView.ViewHolder %7B%0A    private T binding;%0A%0A    public SimpleRecBindingViewHolder(T binding) %7B%0A        super(binding.getRoot());%0A        this.binding = binding;%0A    %7D%0A%0A    public SimpleRecBindingViewHolder(View itemView) %7B%0A        super(itemView);%0A        this.binding = DataBindingUtil.bind(itemView);%0A    %7D%0A%0A    public T getBinding() %7B%0A        return binding;%0A    %7D%0A%7D%0A%0A

add SimpleRecBindingViewHolder