mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
Getter追加
This commit is contained in:
parent
8b1af8e2d7
commit
1fd992fb4a
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user