Link copied to clipboard
abstract fun createInAppMessageView(activity: Activity, inAppMessage: IInAppMessage): View?

This method should either inflate or programmatically create a new View that will be used to display an in-app message. A new View must be created on every call. This prevents the memory leak that would occur if the View was shared by multiple Activity classes.