mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-29 19:13:16 +00:00
AdapterにRevListを追加
This commit is contained in:
parent
756b735884
commit
a569182fd1
|
@ -15,6 +15,7 @@ public class ViewerViewPagerAdapter extends FragmentStateAdapter {
|
||||||
// Variables
|
// Variables
|
||||||
private ArrayList<String> fragmentTargetIdList = new ArrayList<>();
|
private ArrayList<String> fragmentTargetIdList = new ArrayList<>();
|
||||||
private ArrayList<String> fragmentTitleList = new ArrayList<>();
|
private ArrayList<String> fragmentTitleList = new ArrayList<>();
|
||||||
|
private ArrayList<String> fragmentRevisionList = new ArrayList<>();
|
||||||
|
|
||||||
// Setter
|
// Setter
|
||||||
|
|
||||||
|
@ -26,6 +27,10 @@ public class ViewerViewPagerAdapter extends FragmentStateAdapter {
|
||||||
this.fragmentTitleList = fragmentTitleList;
|
this.fragmentTitleList = fragmentTitleList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setFragmentRevisionList(ArrayList<String> fragmentRevisionList) {
|
||||||
|
this.fragmentRevisionList = fragmentRevisionList;
|
||||||
|
}
|
||||||
|
|
||||||
public ViewerViewPagerAdapter(@NonNull FragmentActivity fragmentActivity) {
|
public ViewerViewPagerAdapter(@NonNull FragmentActivity fragmentActivity) {
|
||||||
super(fragmentActivity);
|
super(fragmentActivity);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user