最低限の修正 #16

Merged
murakumo merged 1 commits from murakumo_submission_ver2 into master 2024-06-24 06:06:06 +00:00
2 changed files with 13 additions and 12 deletions
Showing only changes of commit 8281474e02 - Show all commits

View File

@ -140,7 +140,6 @@ public class MainActivity extends AppCompatActivity implements View.OnClickListe
CreateRoot createRoot = new CreateRoot(MainActivity.this); CreateRoot createRoot = new CreateRoot(MainActivity.this);
createRoot.receiveData(myDataList); createRoot.receiveData(myDataList);
latch.countDown(); latch.countDown();
});
new Thread(() -> { new Thread(() -> {
try { try {
@ -153,6 +152,9 @@ public class MainActivity extends AppCompatActivity implements View.OnClickListe
e.printStackTrace(); e.printStackTrace();
} }
}).start(); }).start();
});
executor.shutdown(); executor.shutdown();
} }

View File

@ -127,7 +127,6 @@ public class SetUpActivity extends FragmentActivity
AppDatabase.class, AppDatabase.class,
"SetUpTable" "SetUpTable"
) )
.fallbackToDestructiveMigration()
.build(); .build();
SetUpTableDao setUpTableDao = db.setUpTableDao(); SetUpTableDao setUpTableDao = db.setUpTableDao();
// Roomの操作を行う // Roomの操作を行う