@@ -0,0 +1,717 @@
+/*%0A * Copyright (c) 2017-present, Facebook, Inc.%0A * All rights reserved.%0A *%0A * This source code is licensed under the BSD-style license found in the%0A * LICENSE file in the root directory of this source tree. An additional grant%0A * of patent rights can be found in the PATENTS file in the same directory.%0A */%0A%0Apackage com.facebook.litho.widget;%0A%0Aimport com.facebook.litho.Component;%0Aimport com.facebook.litho.ComponentContext;%0Aimport com.facebook.litho.annotations.LayoutSpec;%0Aimport com.facebook.litho.annotations.OnCreateLayout;%0A%0A/** A component that doesn't render anything. */%0A@LayoutSpec%0Aclass EmptyComponentSpec %7B%0A%0A  @OnCreateLayout%0A  static Component onCreateLayout(ComponentContext c) %7B%0A    return null;%0A  %7D%0A%7D%0A

Introduce EmptyComponent