flexbox-layout v0.3.0-alpha4 Release Notes

Release Date: 2017-06-16 // about 5 years ago
  • ๐Ÿ†• New features for FlexboxLayoutManager

    • โž• Add a set of find*Position (find(First|Last)(Completely)?VisibleItemPosition) methods to retrieve the positions of the visible view. #217
    • โž• Add support for scrollBars #249
    • โž• Add support for smoothScrollToPosition #264

    ๐Ÿ› Bug fixes

    • Child views are not measured properly when they are not visible #262
    • ๐Ÿ›  Fixes the issue the FlexboxItemDecoration is misplaced upon scrolling #285
    • Nested RecyclerView with FlexboxLayoutManager shows only one line #290
    • ๐Ÿ›ฐ FlexboxLayoutManager doesn't work with payloads #297
    • ๐Ÿ›  Fixes the issue that the items becoms invisible on the condition as follows #303
      • the first item's visibility is gone
      • the rest of the items (e.g. three in total) have layout_flexGrow attribute set.
      • the second view has layout_wrapBefore attribute set (no items are
        โž• added to the flex line where the gone view is included)

    API Changes

    • The constructor of FlexboxLayoutManager now requires a Context.

      FlexboxLayoutManager layoutManager = new FlexboxLayoutManager(context);