mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-29 19:13:16 +00:00
リファクタリング
This commit is contained in:
parent
7bcb2f07ab
commit
53ae1dadb8
|
@ -132,10 +132,8 @@ public class ViewerContainerFragment extends Fragment {
|
||||||
} else {
|
} else {
|
||||||
logger.debug("ViewerContainerFragment", "hasCombined: " + hasCombined);
|
logger.debug("ViewerContainerFragment", "hasCombined: " + hasCombined);
|
||||||
tabLayout.setVisibility(View.GONE);
|
tabLayout.setVisibility(View.GONE);
|
||||||
ArrayList<String> pageIdList = new ArrayList<>();
|
viewerViewPagerAdapter.setFragmentTargetIdList(new ArrayList<String>(){{add(documentId);}}); // TODO-rca: 読みにくいので直接追加できるようにする
|
||||||
ArrayList<String> pageTitleList = new ArrayList<>();
|
viewerViewPagerAdapter.setFragmentTitleList(new ArrayList<String>(){{add(documentName);}});
|
||||||
pageIdList.add(documentId);
|
|
||||||
pageTitleList.add(documentName);
|
|
||||||
viewerViewPagerAdapter.notifyItemRangeChanged(0, 1);
|
viewerViewPagerAdapter.notifyItemRangeChanged(0, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user