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;
}
Aggregations