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 66a6d8a9..b42634b5 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 @@ -15,6 +15,7 @@ public class ViewerViewPagerAdapter extends FragmentStateAdapter { // Variables private ArrayList fragmentTargetIdList = new ArrayList<>(); private ArrayList fragmentTitleList = new ArrayList<>(); + private ArrayList fragmentRevisionList = new ArrayList<>(); // Setter @@ -26,6 +27,10 @@ public class ViewerViewPagerAdapter extends FragmentStateAdapter { this.fragmentTitleList = fragmentTitleList; } + public void setFragmentRevisionList(ArrayList fragmentRevisionList) { + this.fragmentRevisionList = fragmentRevisionList; + } + public ViewerViewPagerAdapter(@NonNull FragmentActivity fragmentActivity) { super(fragmentActivity); }