diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 5f83f68..3b18231 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -12,6 +12,9 @@
android:supportsRtl="true"
android:theme="@style/Theme.DiDiDone"
tools:targetApi="31">
+
withData = new HashMap<>();
+ withData.put("ke", "le");
+ withData.put("bai", "shi");
+
+// ActivityUtil.startActivityForResult(getActivity(), NewProjectActivity.class, withData, BizGlobal.REQUEST_CODE_GENERAL);
+
+ Intent intent = new Intent(getContext(), NewProjectActivity.class);
+ if (null != withData) {
+ for (String key : withData.keySet()) {
+ intent.putExtra(key, withData.get(key));
+ }
+ }
+
+ startActivityForResult(intent, BizGlobal.REQUEST_CODE_GENERAL);
+
+ }
+
+
+ @Override
+ public void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
+
+ for (String key : data.getExtras().keySet()) {
+ XLog.d("keyx: {}, valx: {}", key, data.getStringExtra(key));
+ }
}
}
diff --git a/app/src/main/res/layout/activity_new_project.xml b/app/src/main/res/layout/activity_new_project.xml
new file mode 100644
index 0000000..9fd479d
--- /dev/null
+++ b/app/src/main/res/layout/activity_new_project.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
\ No newline at end of file