Search in sources :

Example 6 with NavigationParams

use of com.reactnativenavigation.params.NavigationParams in project react-native-navigation by wix.

the class ContextualMenuParamsParser method parse.

public ContextualMenuParams parse(Bundle bundle) {
    ContextualMenuParams result = new ContextualMenuParams();
    result.buttons = new ContextualMenuButtonParamsParser().parseContextualMenuButtons(bundle.getBundle("buttons"));
    result.leftButton = new TitleBarLeftButtonParamsParser().parseSingleButton(bundle.getBundle("backButton"));
    result.navigationParams = new NavigationParams(bundle.getBundle("navigationParams"));
    return result;
}
Also used : ContextualMenuParams(com.reactnativenavigation.params.ContextualMenuParams) NavigationParams(com.reactnativenavigation.params.NavigationParams)

Aggregations

NavigationParams (com.reactnativenavigation.params.NavigationParams)6 NonNull (android.support.annotation.NonNull)1 ContextualMenuParams (com.reactnativenavigation.params.ContextualMenuParams)1 LightBoxParams (com.reactnativenavigation.params.LightBoxParams)1 PageParams (com.reactnativenavigation.params.PageParams)1 ScreenParams (com.reactnativenavigation.params.ScreenParams)1 SideMenuParams (com.reactnativenavigation.params.SideMenuParams)1 SlidingOverlayParams (com.reactnativenavigation.params.SlidingOverlayParams)1