checkout / frames-android

Frames Android: making native card payments simple
https://www.checkout.com/docs/integrate/sdks/android-sdk
MIT License
47 stars 32 forks source link

[4.0.0] How we can add views on top of form? #180

Closed benju69 closed 1 year ago

benju69 commented 1 year ago

Is your feature request related to a problem? Please describe. Hello I want to display a progress bar, and a snackbar on top of checkout form I don't see how is possible in my activity

Describe the solution you'd like Expose a view/composable from PaymentFormMediator or with styles

maxim-nosov-cko commented 1 year ago

Hi @benju69

Please take a look at our java app sample it should give you an idea of how it can be achieved. Overall there are a few ways either use an activity/fragment's root view (if you need a compose container view just get it from the view graph) or create a transparent activity or fragment and show it on the top.

benju69 commented 1 year ago

Ok, got it, thank you :)