Product Listing View

Last Updated - Platform 19.0.0 - SDK 14.0.0

The ProductListingView is the view used for cells presented by the ProductListViewDataSource on that view.

product listing view

The PoqProductListingView (default) variation of this view:

  • Presents a product listing image and information using a ProductListItemView.
  • Presents an optional ProductVariantGroupSelectionView when there are other variants available (e.g. alternate colours).
  • Presents a WishlistWidget to allow the listing to be added to or removed from the Wishlist.
  • Supports Skeletonable to present a nice loading state.
  • Reads as a single button using Voice Over with actions available for wishlisting.
Container.shared.views.productListingView = {
PoqProductListingView()
}

View Data Mapper

The ProductListingViewDataMapper to map from ProductListing to ProductListingViewData.

Container.shared.mappers.productListingViewDataMapper = {
PoqProductListingViewDataMapper()
}