Search in sources :

Example 1 with SideMenuRoot

use of com.reactnativenavigation.views.sidemenu.SideMenuRoot in project react-native-navigation by wix.

the class SideMenuController method createView.

@NonNull
@Override
public SideMenuRoot createView() {
    SideMenu sideMenu = new SideMenu(getActivity());
    presenter.bindView(sideMenu);
    sideMenu.addDrawerListener(this);
    SideMenuRoot root = new SideMenuRoot(getActivity());
    root.addSideMenu(sideMenu, this);
    return root;
}
Also used : SideMenuRoot(com.reactnativenavigation.views.sidemenu.SideMenuRoot) SideMenu(com.reactnativenavigation.views.sidemenu.SideMenu) NonNull(androidx.annotation.NonNull)

Aggregations

NonNull (androidx.annotation.NonNull)1 SideMenu (com.reactnativenavigation.views.sidemenu.SideMenu)1 SideMenuRoot (com.reactnativenavigation.views.sidemenu.SideMenuRoot)1