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