ViewportFiller
Simple implementation of LayoutInfo.ViewportFiller which fills the viewport by laying out items sequentially.
Functions
Link copied to clipboard
This will be called to inform implementations that the next layout has been computed. Implementations should use the width/height to determine whether they still need more views to fill their initial viewport (which should be reflected in the next call to wantsMore
Link copied to clipboard
Return the fill along the main axis (i.e. height for VERTICAL
and width for HORIZONTAL
), this method is available after ViewportFiller.add is called.