diff --git a/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java b/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java index 0c78b2e6..82747715 100644 --- a/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java +++ b/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java @@ -32,6 +32,13 @@ public class LacertaLibraryImpl implements LacertaLibrary { @Override public CompletableFuture> getRecentDocument(int limit) { return CompletableFuture.supplyAsync(() -> { + // 5秒フリーズさせる + try { + Thread.sleep(5000); + } catch (InterruptedException e) { + e.printStackTrace(); + } + List documentEntities = database.documentDao().getRecentDocument(limit); ArrayList listItems = new ArrayList<>();