I am currently displaying a list of inventory items in a RecyclerView queried using the InventoryContract and the Paging library as was recommended at the following link.
https://community.clover.com/questions/22806/list-of-items-belonging-to-a-category-using-invent.html
I now need to display the variants grouped together in the list like the Register App does when displaying "All Items".
Is there a convenient way to query a list of items with the variants grouped together as a single item? If not, I would be very grateful for recommendations on how to accomplish this.
An example use case would be a shoe store with many shoe styles and many sizes for each style. Displaying all the style + size combinations on the screen would make the view very long. Modifiers wouldn't work for this merchant either because the store might want to keep track of how many of each size variant they have in stock.