From e4418e6322409b6ca78824f2691064b92736ccf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Mon, 29 Jan 2024 10:56:34 +0900 Subject: [PATCH] =?UTF-8?q?JavaDoc=E5=AF=BE=E5=BF=9C,=20=E3=82=B3=E3=83=A1?= =?UTF-8?q?=E3=83=B3=E3=83=88=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../feature/library/LibraryPageFragment.java | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryPageFragment.java b/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryPageFragment.java index 14daf72f..117f3ce6 100644 --- a/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryPageFragment.java +++ b/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryPageFragment.java @@ -202,10 +202,6 @@ public class LibraryPageFragment extends Fragment { @Override public void onFolderSelected(String folderId, String folderName) { logger.debug("LibraryTopFragment", "Folder selected! folderId: " + folderId + ", folderName: " + folderName); -// // 画面遷移 -// FragmentNavigation fragmentNavigation = (FragmentNavigation) getActivity(); -// // folderId: 推移先で表示するフォルダのID, folderName: 推移先で表示するフォルダの名前, parentId: このフラグメントで表示しているフォルダのID(推移先の親) -// fragmentNavigation.navigateToFragment(LibraryPageFragment.newInstance(folderId, folderName, libraryItemPage != null ? libraryItemPage.getParentId() : null), false); Bundle bundle = new Bundle(); bundle.putString("folderId", folderId); bundle.putString("title", folderName); @@ -340,10 +336,20 @@ public class LibraryPageFragment extends Fragment { }); } + /** + * メディアピッカーを使用してドキュメントを作成する(呼び出し部分) + */ private void createDocByMediaPicker() { getContent.launch("image/*"); } + /** + * ページを追加する + * @param documentDetail ドキュメント詳細 + * @param bitmaps ビットマップ + * @param commitMessage コミットメッセージ + * @return CompletableFuture + */ private CompletableFuture addPagesToDocumentDetail(DocumentDetail documentDetail, Bitmap[] bitmaps, String commitMessage) { return CompletableFuture.runAsync(() -> { try {