createPaymentsView

fun createPaymentsView(context: Context, listener: PaymentsListener? = null, props: PaymentsProps? = null, cacheKey: String? = null): View

Create a new PaymentsView for inclusion in the view hierarchy.

Parameters

context

The Context to use for creating the view.

listener

Optional PaymentsListener to use for handling events from the view.

props

Optional PaymentsProps to use for configuring the view.

cacheKey

Key to use for caching the internal WebView within an Activity across configuration changes.