mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-07 19:47:36 +00:00
Getter追加
This commit is contained in:
1 file changed
+10
+10
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user