Toolbarのinitを起動時呼び出すように

This commit is contained in:
r-ca 2024-01-28 13:29:04 +09:00
parent eeeef90ec2
commit e1bc6466e7
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -99,6 +99,10 @@ public class ViewerContainerFragment extends Fragment {
ViewerViewPagerAdapter viewerViewPagerAdapter = new ViewerViewPagerAdapter(requireActivity());
viewPager.setAdapter(viewerViewPagerAdapter);
// Init toolbar
Toolbar toolbar = view.findViewById(R.id.toolbar);
initToolbar(toolbar, true, documentName);
if (this.hasCombined) {
lacertaLibrary.getCombinedDocumentToxiList(documentId).thenAccept(combinedDocumentToxiList -> {
for (ToxiDocumentModel toxiDocumentModel : combinedDocumentToxiList) {