access room dao methods on a background task in two line of code
Executor executor = Executors.newFixedThreadPool(1); executor.execute(() -> database.buildingDao().method(params));