Skip to content

Support for Horizontal ScrollViews

Latest
Compare
Choose a tag to compare
@smbrmoyo smbrmoyo released this 12 Oct 06:20
· 4 commits to master since this release

[0.2.0] - October 12, 2024

What's New

  • Added Support for Horizontal Scrolling: The InfiniteScrollView now supports both vertical and horizontal orientations, allowing for greater flexibility in displaying items.
  • New Stack Types: Introduced VHStack and LazyVHStack to provide a streamlined way to create vertical and horizontal stacks that are optimized for performance.

Detailed Changes

  • New Features:

    • VHStack: A view that arranges content in either a vertical or horizontal stack, enhancing layout capabilities.
    • LazyVHStack: A lazy-loading version of VHStack, which improves performance when dealing with large data sets.
    • VHScrollView: Supports both vertical and horizontal scrolling, with pull-to-refresh functionality for vertical scroll views.
  • Improvements:

    • Enhanced layout customization options for better adaptability to various UI designs.
  • Bug Fixes:

    • Fixed minor layout issues in vertical and horizontal stacks.

Breaking Changes

  • None for this version.

Migration Guide

  • Existing users can continue using the InfiniteScrollView without changes, but consider updating to utilize the new horizontal scrolling feature and stack types for improved performance and flexibility.

Future Work

  • Future releases may include additional customization options for scroll behaviors and enhanced support for dynamic item sizes.