addView

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

Adds a child, clearing cached drawer behavior and applying elevation for drawer children.

Parameters

child

view to add.

index

insertion index, or -1 to append.

params

layout parameters for the child.