Getter追加

This commit is contained in:
r-ca 2024-01-29 02:03:55 +09:00
parent 8b1af8e2d7
commit 1fd992fb4a
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -51,4 +51,14 @@ public class ViewerViewPagerAdapter extends FragmentStateAdapter {
public CharSequence getTabTitle(int position) { public CharSequence getTabTitle(int position) {
return fragmentTitleList.get(position); return fragmentTitleList.get(position);
} }
// Getter
public String getFragmentTargetId(int position) {
return fragmentTargetIdList.get(position);
}
public String getFragmentTitle(int position) {
return fragmentTitleList.get(position);
}
} }