mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 17:53:14 +00:00
Toolbarのinitを起動時呼び出すように
This commit is contained in:
parent
eeeef90ec2
commit
e1bc6466e7
|
@ -99,6 +99,10 @@ public class ViewerContainerFragment extends Fragment {
|
||||||
ViewerViewPagerAdapter viewerViewPagerAdapter = new ViewerViewPagerAdapter(requireActivity());
|
ViewerViewPagerAdapter viewerViewPagerAdapter = new ViewerViewPagerAdapter(requireActivity());
|
||||||
viewPager.setAdapter(viewerViewPagerAdapter);
|
viewPager.setAdapter(viewerViewPagerAdapter);
|
||||||
|
|
||||||
|
// Init toolbar
|
||||||
|
Toolbar toolbar = view.findViewById(R.id.toolbar);
|
||||||
|
initToolbar(toolbar, true, documentName);
|
||||||
|
|
||||||
if (this.hasCombined) {
|
if (this.hasCombined) {
|
||||||
lacertaLibrary.getCombinedDocumentToxiList(documentId).thenAccept(combinedDocumentToxiList -> {
|
lacertaLibrary.getCombinedDocumentToxiList(documentId).thenAccept(combinedDocumentToxiList -> {
|
||||||
for (ToxiDocumentModel toxiDocumentModel : combinedDocumentToxiList) {
|
for (ToxiDocumentModel toxiDocumentModel : combinedDocumentToxiList) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user