|  | 
 |  | 
 | 
												
													
														| 10 |  
 | 10 |  
 | 
												
													
														| 11 |  import com.reactnativenavigation.params.ScreenParams;
 | 11 |  import com.reactnativenavigation.params.ScreenParams;
 | 
												
													
														| 12 |  import com.reactnativenavigation.utils.ViewUtils;
 | 12 |  import com.reactnativenavigation.utils.ViewUtils;
 | 
												
													
														|  | 
 | 13 | +import com.reactnativenavigation.views.ContentView;
 | 
												
													
														| 13 |  import com.reactnativenavigation.views.TitleBarBackButtonListener;
 | 14 |  import com.reactnativenavigation.views.TitleBarBackButtonListener;
 | 
												
													
														| 14 |  
 | 15 |  
 | 
												
													
														| 15 |  import java.lang.reflect.InvocationTargetException;
 | 16 |  import java.lang.reflect.InvocationTargetException;
 | 
												
											
												
													
														|  | 
 |  | 
 | 
												
													
														| 32 |      protected void createContent() {
 | 33 |      protected void createContent() {
 | 
												
													
														| 33 |          content = new FrameLayout(getContext());
 | 34 |          content = new FrameLayout(getContext());
 | 
												
													
														| 34 |          content.setId(ViewUtils.generateViewId());
 | 35 |          content.setId(ViewUtils.generateViewId());
 | 
												
													
														|  | 
 | 36 | +        ContentView contentView = new ContentView(getContext(), screenParams.screenId, screenParams.passProps, screenParams.navigationParams, null);
 | 
												
													
														|  | 
 | 37 | +        addView(contentView, 0, 0);
 | 
												
													
														| 35 |          addView(content, MATCH_PARENT, MATCH_PARENT);
 | 38 |          addView(content, MATCH_PARENT, MATCH_PARENT);
 | 
												
													
														| 36 |          addFragment();
 | 39 |          addFragment();
 | 
												
													
														|  | 
 | 40 | +        contentView.init();
 | 
												
													
														| 37 |      }
 | 41 |      }
 | 
												
													
														| 38 |  
 | 42 |  
 | 
												
													
														| 39 |      private void addFragment() {
 | 43 |      private void addFragment() {
 |