AdapterにRevListを追加

This commit is contained in:
ろむねこ 2024-01-29 11:03:15 +09:00
parent 756b735884
commit a569182fd1
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -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);
} }