Init dev before starting
This commit is contained in:
		| @@ -74,7 +74,6 @@ public class MainActivity extends AppCompatActivity { | ||||
|         } catch (IOException e) { | ||||
|             e.printStackTrace(); | ||||
|         } | ||||
| //        DoricDev.getInstance(); | ||||
|     } | ||||
|  | ||||
|     public class MyAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> { | ||||
|   | ||||
| @@ -28,6 +28,7 @@ import pub.doric.Doric; | ||||
| import pub.doric.DoricNativeDriver; | ||||
| import pub.doric.DoricRegistry; | ||||
| import pub.doric.DoricSingleton; | ||||
| import pub.doric.devkit.DoricDev; | ||||
|  | ||||
| public class MyApplication extends Application { | ||||
|     @Override | ||||
| @@ -46,7 +47,7 @@ public class MyApplication extends Application { | ||||
|                 DoricSingleton.getInstance().setEnvironmentValue(map); | ||||
|             } | ||||
|         }, intentFilter); | ||||
| //        DoricNativeDriver.getInstance(); | ||||
|         DoricDev.getInstance(); | ||||
|         Doric.enablePerformance(true); | ||||
|         Doric.enableRenderSnapshot(true); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user