setMenu method

void setMenu(
  1. List<MesiboUIMenuItem> items,
  2. MesiboUIMenuListener listener
)

The menu items and title bar buttons of the chat list and of chats, in order, for example MesiboUI.defaultMenu() with your own items. A tap goes to the listener with the profile of the chat (null on the chat list). Set it once, before showing the screens.

Implementation

void setMenu(List<MesiboUIMenuItem> items, MesiboUIMenuListener listener) {
	MesiboUIMenuListenerFlutter.setUp(listener);
	super.setMenuDefault(items);
}