From c88ab85cf2c9f4d7dca5c278f7aa0f6b7da8955f Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 28 Jan 2024 13:51:04 +0900 Subject: [PATCH] WIP --- .../nem/lacerta/component/viewer/ViewerContainerFragment.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java b/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java index 542fced8..b07f0167 100644 --- a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java +++ b/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java @@ -80,6 +80,7 @@ public class ViewerContainerFragment extends Fragment { if (getArguments() != null){ documentId = getArguments().getString("documentId"); documentName = getArguments().getString("documentName"); + hasCombined = getArguments().getBoolean("hasCombined"); } } @@ -106,6 +107,7 @@ public class ViewerContainerFragment extends Fragment { initToolbar(toolbar, true, documentName); if (this.hasCombined) { + logger.debug("ViewerContainerFragment", "hasCombined: " + hasCombined); lacertaLibrary.getCombinedDocumentToxiList(documentId).thenAccept(combinedDocumentToxiList -> { for (ToxiDocumentModel toxiDocumentModel : combinedDocumentToxiList) { viewerViewPagerAdapter @@ -114,6 +116,7 @@ public class ViewerContainerFragment extends Fragment { } }); } else { + logger.debug("ViewerContainerFragment", "hasCombined: " + hasCombined); TabLayout tabLayout = view.findViewById(R.id.tab_layout); tabLayout.setVisibility(View.GONE); viewerViewPagerAdapter.addFragment(ViewerBodyFragment.newInstance(documentId, documentName), documentName);