MCPcopy Create free account
hub / github.com/AdamGold/Dryvo-App / MainActivity

Class MainActivity

android/app/src/main/java/com/dryvofront/MainActivity.java:10–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8import android.os.Bundle;
9
10public class MainActivity extends ReactActivity {
11
12 @Override
13 protected void onCreate(Bundle savedInstanceState) {
14 SplashScreen.show(this); // here
15 super.onCreate(savedInstanceState);
16 }
17 /**
18 * Returns the name of the main component registered from JavaScript.
19 * This is used to schedule rendering of the component.
20 */
21 @Override
22 protected String getMainComponentName() {
23 return "dryvofront";
24 }
25
26 @Override
27 protected ReactActivityDelegate createReactActivityDelegate() {
28 return new ReactActivityDelegate(this, getMainComponentName()) {
29 @Override
30 protected ReactRootView createRootView() {
31 return new RNGestureHandlerEnabledRootView(MainActivity.this);
32 }
33 };
34 }
35
36}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected