AppcuesCustomComponentView

AppcuesCustomComponentView is an interface to be implemented when registering a new custom component linked to an identifier.

(static call) Appcues.registerCustomComponent("identifier", appcuesCustomComponentViewImpl)

Functions

Link copied to clipboard
open fun getDebugConfig(): Map<String, Any>?

Define your properties here as a map with example values so it can be previewed in debugger

Link copied to clipboard
abstract fun getView(actionsController: AppcuesExperienceActions, config: Map<String, Any>?): ViewGroup

Returns a ViewGroup that will be inflated in the experience block for custom component matching the registered identifier.