From 1fd992fb4a935825fcf78cc0ada33ca897154874 Mon Sep 17 00:00:00 2001 From: r-ca Date: Mon, 29 Jan 2024 02:03:55 +0900 Subject: [PATCH] =?UTF-8?q?Getter=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../component/viewer/ViewerViewPagerAdapter.java | 10 ++++++++++ 1 file changed, 10 insertions(+) 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); + } }