getContainerById

fun getContainerById(@IdRes containerViewId: Int, listener: OnCustomContainerCreatedListener)

This method finds the CustomView container against provided ID and passes it in the callback which is used to inflate CustomView (inside returned container)

Parameters

containerViewId

The resource ID of container which will be used to inflate CustomView

listener

Callback with container view