luizgrp / SectionedRecyclerViewAdapter

An Adapter that allows a RecyclerView to be split into Sections with headers and/or footers. Each Section can have its state controlled individually.
MIT License
1.68k stars 372 forks source link

Using builder pattern to construct Section object #49

Closed yccheok closed 7 years ago

yccheok commented 7 years ago

Hi @luizgrp

Before I submit PR for EMPTY state, I would like to first submit this PR. The purpose of this PR is as follow

Create a Section object based on section parameters. This is a recommended way as it can avoid nasty bug caused by parameters ordering mistake.