inflateMenu

open fun inflateMenu(resId: Int)

Inflate a menu resource into this navigation view.

Existing items in the menu will not be modified or removed.

Parameters

resId

ID of a menu resource to inflate