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 7054fe87..ff1834e6 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 @@ -184,6 +184,13 @@ public class ViewerContainerFragment extends Fragment { builder.show(); } + private void updateTabTitle(int position, String title) { + ArrayList fragmentTitleList = viewerViewPagerAdapter.getFragmentTitleList(); + fragmentTitleList.set(position, title); + viewerViewPagerAdapter.setFragmentTitleList(fragmentTitleList); + viewerViewPagerAdapter.notifyItemChanged(position); + } + /** * Toolbarをinitする *