Shopify / checkout-sheet-kit-android

Shopify’s Checkout Sheet Kit makes it simple to perform a checkout inside your Android app.
MIT License
10 stars 1 forks source link

Use CheckoutEventProcessor interface in ShopifyCheckoutSheetKit.present() #116

Open Akramhussain4 opened 1 month ago

Akramhussain4 commented 1 month ago

Description

Currently the present function in ShopifyCheckoutSheetKit takes DefaultCheckoutEventProcessor abstract class as checkoutEventProcessor it would be very helpful if it takes CheckoutEventProcessor interface instead.

Rationale

Having the interface as checkoutEventProcessor would be use full in extending the ViewModel and having it manage the lifecycle.

Screenshot 2024-08-02 at 11 39 29 AM

github-actions[bot] commented 2 weeks ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in 30 days. Thank you for your contributions.