SuperSLiM icon indicating copy to clipboard operation
SuperSLiM copied to clipboard

Grid section layout

Open TonicArtos opened this issue 7 years ago • 0 comments

A section layout manager that lays out items as a grid. Rows are variable in height, and have nested scrolling with intra-row sticky behaviour for items smaller than the row height. This will likely make the grid layout the most complicated of all Slms and stress the design the most. It will likely require some modification to support sticky nested sections (Child.offsetVertically(dy: Int)).

Tasks

  • [ ] At top
  • [ ] Layout
  • [ ] Fill top
  • [ ] Fill bottom
  • [ ] Trim top
  • [ ] Trim bottom

Validation

  • [ ] complete child < row height is sticky.
  • [ ] incomplete child (nested section) < row height is sticky.
  • [ ] On scroll to top, child fills top by dy.
  • [ ] On scroll to bottom, child fills bottom by dy.
  • [ ] Disappeared/ignored height set properly.
  • [ ] Removed height set properly.
  • [ ] State is persisted

TonicArtos avatar Mar 23 '17 21:03 TonicArtos