hunk.code_window:   inline fun onDestroy(crossinline body: () -> Unit) {
       eventListeners[EventName.MODULE_DESTROY] = BasicEventListener(EventName.MODULE_DESTROY) { body() }
     }
     inline fun onActivityEntersForeground(crossinline body: () -> Unit) {
       eventListeners[EventName.ACTIVITY_ENTERS_FOREGROUND] = BasicEventListener(EventName.ACTIVITY_ENTERS_FOREGROUND) { body() }
     }
  
hunk.labels: keep keep keep add keep keep keep keep
hunk.after_edit:   /**
      * Creates module's lifecycle listener that is called right after the activity is resumed.
      */
  
hunk.file_path: packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/modules/ModuleDefinitionBuilder.kt
hunk.type: add
file: /*
   * Copyright (c) 2015-present, Horcrux.
   * All rights reserved.
   *
   * This source code is licensed under the MIT-style license found in the
   * LICENSE file in the root directory of this source tree.
   */
  
  
  package abi42_0_0.host.exp.exponent.modules.api.components.svg;
  
  import abi42_0_0.com.facebook.react.ReactPackage;
  import abi42_0_0.com.facebook.react.bridge.JavaScriptModule;
  import abi42_0_0.com.facebook.react.bridge.NativeModule;
  import abi42_0_0.com.facebook.react.bridge.ReactApplicationContext;
  import abi42_0_0.com.facebook.react.uimanager.ViewManager;
  
  import java.util.Arrays;
  import java.util.Collections;
  import java.util.List;
  
  import javax.annotation.Nonnull;
  
  import static abi42_0_0.host.exp.exponent.modules.api.components.svg.RenderableViewManager.*;
  
  public class SvgPackage implements ReactPackage {
  
      @Nonnull
      @Override
      public List<ViewManager> createViewManagers(@Nonnull ReactApplicationContext reactContext) {
          return Arrays.<ViewManager>asList(
                  new GroupViewManager(),
                  new PathViewManager(),
                  new CircleViewManager(),
                  new EllipseViewManager(),
                  new LineViewManager(),
                  new RectViewManager(),
                  new TextViewManager(),
                  new TSpanViewManager(),
                  new TextPathViewManager(),
                  new ImageViewManager(),
                  new ClipPathViewManager(),
                  new DefsViewManager(),
                  new UseViewManager(),
                  new SymbolManager(),
                  new LinearGradientManager(),
                  new RadialGradientManager(),
                  new PatternManager(),
                  new MaskManager(),
                  new ForeignObjectManager(),
                  new MarkerManager(),
                  new SvgViewManager());
      }
  
      @Nonnull
      @Override
      public List<NativeModule> createNativeModules(@Nonnull ReactApplicationContext reactContext) {
          return Arrays.<NativeModule>asList(
                  new SvgViewModule(reactContext),
                  new RNSVGRenderableManager(reactContext)
          );
      }
  
      @SuppressWarnings("unused")
      public List<Class<? extends JavaScriptModule>> createJSModules() {
          return Collections.emptyList();
      }
  }
  