Combine処理の変更に追従

This commit is contained in:
r-ca 2024-01-28 14:13:53 +09:00
parent 47c6478227
commit 0dafecc75d
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -115,7 +115,7 @@ public class ViewerContainerFragment extends Fragment {
logger.debug("ViewerContainerFragment", "hasCombined: " + hasCombined); logger.debug("ViewerContainerFragment", "hasCombined: " + hasCombined);
lacertaLibrary.getCombinedDocumentToxiList(documentId).thenAccept(combinedDocumentToxiList -> { lacertaLibrary.getCombinedDocumentToxiList(documentId).thenAccept(combinedDocumentToxiList -> {
logger.debug("ViewerContainerFragment", "combinedDocumentToxiList: " + combinedDocumentToxiList.size()); logger.debug("ViewerContainerFragment", "combinedDocumentToxiList: " + combinedDocumentToxiList.size());
for (ToxiDocumentModel toxiDocumentModel : combinedDocumentToxiList) { // 子を追加 for (ToxiDocumentModel toxiDocumentModel : combinedDocumentToxiList) {
viewerViewPagerAdapter viewerViewPagerAdapter
.addFragment(ViewerBodyFragment.newInstance(toxiDocumentModel.getChildDocumentId(), toxiDocumentModel.getTitleCache()), .addFragment(ViewerBodyFragment.newInstance(toxiDocumentModel.getChildDocumentId(), toxiDocumentModel.getTitleCache()),
toxiDocumentModel.getTitleCache()); toxiDocumentModel.getTitleCache());