Skip to content
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.

Add offset support #7

Merged
merged 2 commits into from Sep 15, 2015
Merged

Add offset support #7

merged 2 commits into from Sep 15, 2015

Conversation

Serchinastico
Copy link
Contributor

This branch contains several improvements:

  • Add an offset support for easily handle headers in RecyclerViews with GridLayouts.
  • Adds some useful shortcuts for selecting Directions.
  • Simplify some internal logic in PositionAdapter
  • Add a new OffsetSelector to apply dividers to items with an adapter index equal or higher than a specified position.
  • Adds an eraser method to avoid painting a certain direction in DividerBuilder (instead of declaring the whole Divider as empty and declaring which sides should paint you can now do it the other way around).

Sergio Gutierrez added 2 commits September 10, 2015 17:34
* Replace fixed enumsets for methods to avoid weird things
* Modify offset selector to be higher OR EQUAL than the offset
@davideme
Copy link
Member

👍

Serchinastico added a commit that referenced this pull request Sep 15, 2015
@Serchinastico Serchinastico merged commit cac774a into master Sep 15, 2015
@Serchinastico Serchinastico deleted the add-offset-support branch September 15, 2015 18:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants