Dynamic Items per "Row" within CollectionView? RRS feed

  • Question

  • User393184 posted

    Hi, I'm writing on an App which is using a collection view. Actually after rotating I'm set the span to show more items within landscape. But's more a rule of thumb think.

    Is it possible to say the collection view. Every items need to be for example 100 width and put as many as possible within one row?

    Thursday, March 5, 2020 11:06 AM


  • User392919 posted

    Hi, as what you described above, it's more like what a FlexLayout can do, since I can't post links yet, I'm advising refer to official doc about FlexLayout - using flexlayout for wrapping items to see if this met your requirement. Moreover, There's also a custome wrap layout that may help, in official doc about Create a Custom Layout in Xamarin.Forms - Create a WrapLayout

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Friday, March 6, 2020 11:49 AM