ProductCardShimmerView
ProductCardShimmerView shows a loading state for a ProductCardView. It supports two different layouts: vertical and horizontal.
ProductCardShimmerView vertical uses an alias called productCardShimmerViewLayout
pointing to product_card_shimmer_view.xml
.
ProductCardShimmerView horizontal uses an alias called productCardShimmerViewLayout_horizontal
pointing to product_card_shimmer_view_horizontal.xml
.
Usage
You can set it up in the layout:
<com.poqstudio.platform.uicomponents.productcard.ui.ProductCardShimmerView android:layout_width="wrap_content" android:layout_height="wrap_content" app:productCardLayout="vertical" /> //horizontal by default