try factoryToAttach.attach(parentEventType, context, parentViewFactory, attachedViewFactories); attachedViewFactories.add(viewFactories.get(i)); parentEventType = factoryToAttach.getEventType();
try factoryToAttach.attach(parentEventType, context, parentViewFactory, attachedViewFactories); attachedViewFactories.add(viewFactories.get(i)); parentEventType = factoryToAttach.getEventType();