createMenuView

open fun createMenuView(@NonNull context: Context, @NonNull title: String, @Nullable description: String, @NonNull type: SingleMenuType, @DrawableRes iconResId: Int, @ColorRes iconTintResId: Int): View

Creates a custom menu view.

Return

The custom menu view since 3.16.0

Parameters

context

The Context this component is currently associated with

title

The title of the menu

type

The type of the menu

iconResId

The icon resource id of the menu