onCreateLayout

abstract fun onCreateLayout(layoutInflater: LayoutInflater, root: ViewGroup): ViewGroup

Create layout that will host both header and content layouts.

Return

ViewGroup that can host both header and content layouts. Returned view must not be attached to root view.

Parameters

layoutInflater

The LayoutInflater service.

root

Parent view that provides a set of LayoutParams values for root of the returned hierarchy.