TonicArtos / SuperSLiM

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.
http://tonicartos.nz
2.12k stars 297 forks source link

An update on version5 #189

Open TonicArtos opened 7 years ago

TonicArtos commented 7 years ago

I thought I'd give an update. I've been making great progress on version5 recently.

Layout and scrolling the section graph is working very well now. In implementing the header and footer layers I have been ironing out many of the finicky issues coming from the interaction between nested layouts. Keeping the layout state model correct and up to date has proven to be a pain. Testing has also been difficult. I gave up writing tests for the layouts as I have to completely model a huge section of the library just to test an individual layout call. It's not surprising as there is lot of abstraction and interaction by side-effect going on. The layouts are much easier to write though, which was the goal of all this. Probably you can isolate individual parts of the layout code for a given Slm and write unit tests for those.

I am very happy with where I have gotten the library to. Take a look at it on the version5 branch. The example app should be very easy to follow on how things are working.

Todo - Milestone 2

After that - Milestone 3

Done

Current known bugs