createPayoutsView

fun createPayoutsView(context: Context, listener: PayoutsListener? = null, cacheKey: String? = null): View

Create a new PayoutsView for inclusion in the view hierarchy.

Parameters

context

The Context to use for creating the view.

listener

Optional PayoutsListener to use for handling events from the view.

cacheKey

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