@@ -0,0 +1,853 @@
+package ca.antonious.viewcelladapter;%0A%0Aimport java.lang.reflect.ParameterizedType;%0A%0A/**%0A * Created by George on 2016-11-17.%0A */%0A%0Apublic abstract class SingleViewCell%3CVH extends BaseViewHolder%3E extends ViewCell%3CVH%3E %7B%0A    @Override%0A    public int getLayoutId(int position) %7B%0A        return getItemCount();%0A    %7D%0A%0A    @Override%0A    public int getItemCount() %7B%0A        return 1;%0A    %7D%0A%0A    @Override%0A    public void bindViewCell(VH viewHolder, int position) %7B%0A        bindViewCell(viewHolder);%0A    %7D%0A%0A    @Override%0A    @SuppressWarnings(%22unchecked%22)%0A    public Class%3C? extends VH%3E getViewHolderClass(int position) %7B%0A        return (Class%3C? extends VH%3E) ((ParameterizedType) getClass()%0A                .getGenericSuperclass()).getActualTypeArguments()%5B0%5D;%0A    %7D%0A%0A    public abstract int getLayoutId();%0A    public abstract void bindViewCell(VH viewHolder);%0A%7D%0A

Add SingleViewCell