MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / onCreate

Method onCreate

android/src/main/java/org/bombusmod/App.java:21–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 }
20
21 @Override
22 public void onCreate() {
23 super.onCreate();
24 instance = this;
25 // see https://github.com/tony19/logback-android/issues/228
26 File externalFilesFir = getExternalFilesDir(null);
27 System.out.println("External file directory: " + externalFilesFir);
28 StaticData sd = StaticData.getInstance();
29 sd.setAssetsLoader(new InternalResource());
30 sd.setVersionInfo(new AndroidVersion());
31 sd.setEventNotifier(new EventNotify());
32 sd.previousPath = externalFilesFir.getPath();
33 }
34}

Callers

nothing calls this directly

Calls 4

getInstanceMethod · 0.95
setAssetsLoaderMethod · 0.95
setVersionInfoMethod · 0.95
setEventNotifierMethod · 0.95

Tested by

no test coverage detected