addView

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

Deprecated

Litho handles adding/removing views automatically using mount/unmount calls. Manually adding/ removing views will mess up Litho's bookkeeping of added views and cause weird crashes down the line.