NavigationBarMenu

Provides a MenuBuilder that can be used to build a menu that can be placed inside navigation bar view such as the bottom navigation menu or the navigation rail view. This implementation of the menu builder prevents the addition of submenus to the primary destinations.

Constructors

Link copied to clipboard
constructor(@NonNull context: Context, @NonNull viewClass: Class<out Any>, maxItemCount: Int)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun addSubMenu(group: Int, id: Int, categoryOrder: Int, @NonNull title: CharSequence): SubMenu