vnorderui / com.venuenext.vnorderui / VNNavigationController / showMenu

showMenu

fun showMenu(forMenuUUID: String, withStyle: DisplayType, usingContext: Context, usingBaseFragment: Fragment? = null): Unit

Presents a view that contains a Stand's Menu.

Parameters

forMenuUUID - the UUID of the menu that you want to display.

withStyle - the DisplayType representing the style in which you'd like to present the menu. {@see com.venuenext.vnorderui.VenueNextNavigationController.DisplayType}

usingContext - the Context for use in menu operations.

usingBaseFragment -

optional Fragment you can provide as the base fragment for performing navigation. This fragment will be replaced with the fragment showing the stand menu. Note: This is only utilized when using DisplayType.Modal.

Please see the {@see com.venuenext.vnorderui.VenueNextNavigationController.DisplayType} documentation to see how DisplayType affects the way the menu is displayed.