Multisize ListView Item Sizes RRS feed

  • Question

  • Hi,

    This page details how to create a ListView with multi-sized items. It claims that

    itemSize = ((slotSize + margin) x multiplier) – margin

    However, I don't quite understand this equation, why it works, or what it indicates. Is the slot size the distance between items? If so, then what is margin, and what is multiplier?

    All help is greatly appreciated and I always accept an answer!

    Saturday, June 29, 2013 3:00 AM


  • The slot size is the size of a basic item. The formula finds the size of a small item plus its margin, multiplies that by the number of slots the item takes up, and then subtracts off the extra margin from the outside of the full sized item.


    • Marked as answer by sddhhanover Sunday, June 30, 2013 4:19 PM
    Sunday, June 30, 2013 2:37 AM