A layout manager for the RecyclerView with interchangeable linear, grid, and staggered displays of views, all with configurable section headers including the sticky variety as specified in the material design docs.
I didn't have as much time to put in as I'd hoped. I'll have to get the upload done tomorrow. For now, here is an incomplete version in a gist. https://gist.github.com/TonicArtos/c5df9906547655e3de94
For now, of most interest is Section.java, SectionGraphAdapter.java, and SectionConfiguration.java. They provide the bulk of the interface clients work with.
@TonicArtos, I don't know if you noticed my commits on your gist above...
I didn't have as much time to put in as I'd hoped. I'll have to get the upload done tomorrow. For now, here is an incomplete version in a gist. https://gist.github.com/TonicArtos/c5df9906547655e3de94
For now, of most interest is Section.java, SectionGraphAdapter.java, and SectionConfiguration.java. They provide the bulk of the interface clients work with.
continue
d or break
ed out of for loops, which seems to get me out of trouble... but I'm finding a lot of the layout stuff hard to follow...
Milestone 1 is complete, check it out on the version5 branch.
Version 5 is a new implementation of SuperSLiM that works using an internal graph of your data set. This solves many problems with the old design. In Milestone 1, version 5 renders your data set as a graph of sections and items. It supports horizontal and vertical configurations, in addition to the other common layout configurations for RecyclerView. Oh yes, it also works with RecyclerView's predictive animations. The design is also simpler to use and easier to extend. However, right now that actual layout is incomplete as it does not scroll.
Milestone 2 is focused on bringing the library up to a usable point. It will add scrolling, a complete linear section layout, a complete set of header layouts, and a few other things. There are a few more planned milestones too. Please see the project plan for more information.
Sorry, my life took a bit of a spin. I don't really want to get in to it, but I realise that I should have let you all know things were not the best.
Anyway, V5 is coming along again. It looks like I am able to put aside a few days a week for the foreseeable future so I anticipate being able to knock out milestones 2 & 3 in the next month. As for current progress: Most of the items in Milestone 2 are finished, I also ended out getting grid layouts mostly done. Getting scrolling to work properly has been a real chore, it is also part of why I decided to get to work on grid layout already as I wanted to make sure it all worked fine together. Finishing and testing scrolling is probably a few more days work. Based on the time I have available I'll probably get out Milestone 2 before the end of the March.