diff --git a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerViewPagerAdapter.java b/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerViewPagerAdapter.java index 8b30e772..ba263d06 100644 --- a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerViewPagerAdapter.java +++ b/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerViewPagerAdapter.java @@ -51,4 +51,14 @@ public class ViewerViewPagerAdapter extends FragmentStateAdapter { public CharSequence getTabTitle(int position) { return fragmentTitleList.get(position); } + + // Getter + + public String getFragmentTargetId(int position) { + return fragmentTargetIdList.get(position); + } + + public String getFragmentTitle(int position) { + return fragmentTitleList.get(position); + } }