addInAppMessageViewToViewGroup

open fun addInAppMessageViewToViewGroup(parentViewGroup: ViewGroup, inAppMessage: IInAppMessage, inAppMessageView: View, inAppMessageViewLifecycleListener: IInAppMessageViewLifecycleListener)

Adds the IInAppMessageView to the parent ViewGroup. Also calls IInAppMessageViewLifecycleListener.beforeOpened and IInAppMessageViewLifecycleListener.afterOpened.