Android Data Binding: RecyclerView
George Mount
1.4K30

Why not ?

public class BindingViewHolder<B extends ViewDataBinding> extends RecyclerView.ViewHolder {

public final B mLayoutBinding;

public BindingViewHolder(B binding) {
super(binding.getRoot());
this.mLayoutBinding = binding;
}
}
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.