addView

open override fun addView(child: View, index: Int, params: ViewGroup.LayoutParams?)(source)

FragmentContainerView will only allow views returned by a Fragment's Fragment.onCreateView. Attempting to add any other view will result in an IllegalStateException.

{@inheritDoc}