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

#98 Support for resource-less View creation #101

Closed Philipp91 closed 6 years ago

Philipp91 commented 6 years ago

See #98 for design considerations.

Currently, this is just a first draft, I haven't looked over it myself, I'm uploading this mostly to run CI.

Philipp91 commented 6 years ago

CI and the code diff of this PR seem fine. Note that I changed the order so that "item" is first (before "header" and "footer", as I find it makes more sense like that (mandatory/basic things first). It makes the diff a bit less homogeneous. I also tested the changes in the context of my application and it works.

luizgrp commented 6 years ago

Many thanks for all the improvements, @Philipp91 !

Philipp91 commented 6 years ago

Thank you for reviewing and for your feedback!

For my personal planning: When (roughly) will I find this in a (pre-)release on the Gradle/Maven repository?

luizgrp commented 6 years ago

I'm happy to release as soon as we get #102 merged, I will wait few days to allow yccheok to fix his PR