@@ -0,0 +1,1274 @@
+package com.karumi.headerrecyclerview;%0A%0Aimport android.support.v7.widget.GridLayoutManager;%0Aimport android.support.v7.widget.RecyclerView;%0Aimport android.view.ViewGroup;%0A%0Apublic class HeaderSpanSizeLookupBuilder %7B%0A%0A  HeaderRecyclerViewAdapter adapter = new HeaderRecyclerViewAdapter() %7B%0A    @Override%0A    protected RecyclerView.ViewHolder onCreateHeaderViewHolder(ViewGroup parent, int viewType) %7B%0A      return null;%0A    %7D%0A%0A    @Override%0A    protected RecyclerView.ViewHolder onCreateItemViewHolder(ViewGroup parent, int viewType) %7B%0A      return null;%0A    %7D%0A%0A    @Override protected void onBindHeaderViewHolder(RecyclerView.ViewHolder holder, int position) %7B%0A%0A    %7D%0A%0A    @Override protected void onBindItemViewHolder(RecyclerView.ViewHolder holder, int position) %7B%0A%0A    %7D%0A  %7D;%0A%0A  GridLayoutManager gridLayoutManager = new GridLayoutManagerBuilder().build();%0A%0A  public HeaderSpanSizeLookupBuilder withAdapter(HeaderRecyclerViewAdapter adapter) %7B%0A    this.adapter = adapter;%0A    return this;%0A  %7D%0A%0A  public HeaderSpanSizeLookupBuilder withGridLayoutManager(GridLayoutManager gridLayoutManager) %7B%0A    this.gridLayoutManager = gridLayoutManager;%0A    return this;%0A  %7D%0A%0A  public HeaderSpanSizeLookup build() %7B%0A    return new HeaderSpanSizeLookup(adapter, gridLayoutManager);%0A  %7D%0A%7D%0A

add HeaderSpanSizeLookup builder