RnD for caching cart and also adding items to cart locally.

Integrated product view api for viewing product.

Added removing cart item functionality from product view fragment.

Added callback to listen removal changes when gone to cart from product view fragment.

Debugged crash with configuration changes with multiple fragments in an activity with no public constructor.
And issue with no saved state when configuration is changed.

Understood and integrated navigation-safe-args in ShopActivity.
This commit is contained in:
2024-07-31 20:52:15 +05:30
parent 4d393b0fcf
commit 73e6a9f3fc
27 changed files with 489 additions and 203 deletions

View File

@@ -281,5 +281,6 @@
<string name="category_name">Category Name :</string>
<string name="sku_id">SKU Id :</string>
<string name="add_to_cart">ADD TO CART</string>
<string name="remove_from_cart">REMOVE</string>
<string name="view_cart">view cart</string>
</resources>